25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-10 16:58:46 +01:00

* src/ejabberd_sm.erl: Remove unnecessary use delete_object,

which can, in some context break indexes, when used on non bag table.

SVN Revision: 519
This commit is contained in:
Mickaël Rémond 2006-03-16 09:59:45 +00:00
parent 7278a606a8
commit eabf8d1c6c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-16 Mickael Remond <mickael.remond@process-one.net>
* src/ejabberd_sm.erl: Remove unnecessary use delete_object, which can,
in some context break indexes, when used on non bag table.
2006-03-16 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_c2s.erl: Bugfix

View File

@ -290,7 +290,7 @@ clean_table_from_bad_node(Node) ->
[{'==', {node, '$1'}, Node}],
['$_']}]),
lists:foreach(fun(E) ->
mnesia:delete_object(E)
mnesia:delete({session, E#session.sid})
end, Es)
end,
mnesia:sync_dirty(F).