From 54a5b2d3e918cc80a477590ff8ab17e046b8ad7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?= Date: Thu, 26 Jul 2007 08:30:25 +0000 Subject: [PATCH] * src/mod_roster_odbc.erl: Fixed wrong call. SVN Revision: 824 --- ChangeLog | 4 ++++ src/mod_roster_odbc.erl | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0ae2ea089..93021dc4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-07-26 Mickael Remond + + * src/mod_roster_odbc.erl: Fixed wrong call. + 2007-07-24 Mickael Remond * doc/guide.tex: Added recommandations on max_stanza options diff --git a/src/mod_roster_odbc.erl b/src/mod_roster_odbc.erl index b9ffc9661..7b0c358d4 100644 --- a/src/mod_roster_odbc.erl +++ b/src/mod_roster_odbc.erl @@ -621,7 +621,7 @@ set_items(User, Server, SubEl) -> {xmlelement, _Name, _Attrs, Els} = SubEl, LUser = jlib:nodeprep(User), LServer = jlib:nameprep(Server), - catch odbc_queries:transaction( + catch odbc_queries:sql_transaction( LServer, lists:map(fun(El) -> process_item_set_t(LUser, LServer, El)