mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix bug creating anonymous mnesia table
This commit is contained in:
parent
89f99c4251
commit
04943ca469
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user