mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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:
parent
7278a606a8
commit
eabf8d1c6c
@ -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>
|
2006-03-16 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
* src/ejabberd_c2s.erl: Bugfix
|
* src/ejabberd_c2s.erl: Bugfix
|
||||||
|
@ -290,7 +290,7 @@ clean_table_from_bad_node(Node) ->
|
|||||||
[{'==', {node, '$1'}, Node}],
|
[{'==', {node, '$1'}, Node}],
|
||||||
['$_']}]),
|
['$_']}]),
|
||||||
lists:foreach(fun(E) ->
|
lists:foreach(fun(E) ->
|
||||||
mnesia:delete_object(E)
|
mnesia:delete({session, E#session.sid})
|
||||||
end, Es)
|
end, Es)
|
||||||
end,
|
end,
|
||||||
mnesia:sync_dirty(F).
|
mnesia:sync_dirty(F).
|
||||||
|
Loading…
Reference in New Issue
Block a user