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

fixes typo for table copy

This commit is contained in:
Evgeniy Khramtsov 2010-08-10 19:44:45 +10:00
parent da866ed326
commit bee01cfd1e

View File

@ -55,7 +55,7 @@ start_link(Host) ->
{type, bag}, {type, bag},
{local_content, true}, {local_content, true},
{attributes, record_info(fields, sql_pool)}]), {attributes, record_info(fields, sql_pool)}]),
mnesia:add_table_copy(local_config, node(), ram_copies), mnesia:add_table_copy(sql_pool, node(), ram_copies),
F = fun() -> F = fun() ->
mnesia:delete({sql_pool, Host}) mnesia:delete({sql_pool, Host})
end, end,