25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Fix bug creating anonymous mnesia table

This commit is contained in:
Badlop 2010-06-10 12:17:31 +02:00
parent 89f99c4251
commit 04943ca469

View File

@ -69,7 +69,6 @@ start(Host) when is_list(Host) ->
%% TODO: Check cluster mode %% TODO: Check cluster mode
update_tables(), update_tables(),
mnesia:create_table(anonymous, [{ram_copies, [node()]}, mnesia:create_table(anonymous, [{ram_copies, [node()]},
{type, bag},
{type, bag}, {local_content, true}, {type, bag}, {local_content, true},
{attributes, record_info(fields, anonymous)}]), {attributes, record_info(fields, anonymous)}]),
mnesia:add_table_copy(anonymous, node(), ram_copies), mnesia:add_table_copy(anonymous, node(), ram_copies),