Start mnesia as a permanent application (thanks to Brian Cully)(EJAB-1068)

SVN Revision: 2673
This commit is contained in:
Badlop 2009-10-19 10:41:44 +00:00
parent 69c4d5d89b
commit da50ec6215
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ db_init() ->
_ ->
ok
end,
mnesia:start(),
application:start(mnesia, permanent),
mnesia:wait_for_tables(mnesia:system_info(local_tables), infinity).
%% Start all the modules in all the hosts