From: Jérôme Sautret Date: Fri, 3 Oct 2008 15:49:24 +0000 (+0000) Subject: * src/odbc/odbc_queries.erl: Fix syntax error on update_roster_sql query. X-Git-Tag: v2.0.3~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7224ec8cb42866f48425d4c4ed972881e6fc3ce7;p=ejabberd * src/odbc/odbc_queries.erl: Fix syntax error on update_roster_sql query. SVN Revision: 1599 --- diff --git a/ChangeLog b/ChangeLog index 3e3b9feb6..a0b37b5b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-10-03 Jerome Sautret + + * src/odbc/odbc_queries.erl: Fix syntax error on update_roster_sql query. + 2008-10-03 Jerome Sautret * src/odbc/odbc_queries.erl: Fix empty query that fails on MySQL (merged from trunk). diff --git a/src/odbc/odbc_queries.erl b/src/odbc/odbc_queries.erl index b2bf06efb..2f718474b 100644 --- a/src/odbc/odbc_queries.erl +++ b/src/odbc/odbc_queries.erl @@ -322,7 +322,7 @@ update_roster_sql(Username, SJID, ItemVals, ItemGroups) -> " and jid='", SJID, "';"], ["insert into rosterusers(" " username, jid, nick, " - " subscription, ask, askmessage" + " subscription, ask, askmessage, " " server, subscribe, type) " " values (", ItemVals, ");"], ["delete from rostergroups "