diff --git a/src/odbc/ejabberd_odbc_sup.erl b/src/odbc/ejabberd_odbc_sup.erl index 8aa924742..54edadc75 100644 --- a/src/odbc/ejabberd_odbc_sup.erl +++ b/src/odbc/ejabberd_odbc_sup.erl @@ -55,7 +55,7 @@ start_link(Host) -> {type, bag}, {local_content, true}, {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() -> mnesia:delete({sql_pool, Host}) end,