From 7e3305047531f75d4a412a1ace72b357282bcc01 Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Fri, 17 Oct 2014 22:58:31 +0400 Subject: [PATCH] Comment fixed --- src/sqlite3.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sqlite3.erl b/src/sqlite3.erl index ac41edb..e79401d 100644 --- a/src/sqlite3.erl +++ b/src/sqlite3.erl @@ -1021,7 +1021,9 @@ terminate(_Reason, #state{port = Port}) -> ok -> ok; {error, permanent} -> - ok; %% FIXME is this the correct behavior? + %% Older Erlang versions mark any driver using driver_async + %% as permanent + ok; {error, ErrorDesc} -> error_logger:error_msg("Error unloading sqlite3 driver: ~s~n", [erl_ddll:format_error(ErrorDesc)])