]> granicus.if.org Git - ejabberd/commitdiff
* src/odbc/ejabberd_odbc.erl: Fixed processing of UPDATE results
authorAlexey Shchepin <alexey@process-one.net>
Mon, 12 Jan 2009 18:15:49 +0000 (18:15 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Mon, 12 Jan 2009 18:15:49 +0000 (18:15 +0000)
with pgsql

SVN Revision: 1808

ChangeLog
src/odbc/ejabberd_odbc.erl

index 13ab0f020078098cdf9af3e0b2703056de66a351..d31de112ed876baae37c2df671a19c3b148eeec6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-12  Alexey Shchepin  <alexey@process-one.net>
+
+       * src/odbc/ejabberd_odbc.erl: Fixed processing of UPDATE results
+       with pgsql
+
 2009-01-12  Badlop  <badlop@process-one.net>
 
        * doc/guide.tex: Update copyright date 2008 to 2009 (EJAB-842)
index 624c700f473db172c2a0e952a84f4e37627a2c8e..d40cb758880fcba902c37ba6f1607197a445f3a8 100644 (file)
@@ -326,6 +326,8 @@ pgsql_item_to_odbc("INSERT " ++ OIDN) ->
     {updated, list_to_integer(N)};
 pgsql_item_to_odbc("DELETE " ++ N) ->
     {updated, list_to_integer(N)};
+pgsql_item_to_odbc("UPDATE " ++ N) ->
+    {updated, list_to_integer(N)};
 pgsql_item_to_odbc({error, Error}) ->
     {error, Error};
 pgsql_item_to_odbc(_) ->