* src/odbc/ejabberd_odbc.erl: Fixed processing of UPDATE results

with pgsql

SVN Revision: 1808
This commit is contained in:
Alexey Shchepin 2009-01-12 18:15:49 +00:00
parent f09509502e
commit 562e6c8d39
2 changed files with 7 additions and 0 deletions

View File

@ -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)

View 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(_) ->