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)