From 092f6934e3778d945bc0a9913dd70e54e8fd88b1 Mon Sep 17 00:00:00 2001 From: sergey-miryanov Date: Wed, 14 Jul 2010 14:08:16 +0600 Subject: [PATCH] Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace null atom with string. Thanks to Jacek Złydach --- src/sqlite3_lib.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlite3_lib.erl b/src/sqlite3_lib.erl index e392c75..0c87262 100644 --- a/src/sqlite3_lib.erl +++ b/src/sqlite3_lib.erl @@ -53,7 +53,7 @@ write_value_sql(Values) -> StrValues = lists:map(fun (X) when is_integer(X) -> integer_to_list(X); (X) when is_float(X) -> float_to_list(X); - (?NULL_ATOM) -> 'null'; + (?NULL_ATOM) -> "null"; (X) -> io_lib:format("'~s'", [X]) end, Values), string:join(StrValues, ",").