From bee01cfd1e1f53b091a0376dfc65dcc92a5bb675 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Tue, 10 Aug 2010 19:44:45 +1000 Subject: [PATCH] fixes typo for table copy --- src/odbc/ejabberd_odbc_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,