25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-02 16:37:52 +01:00

* src/odbc/ejabberd_odbc.erl: Start ODBC explicitely because

Erlang R12 doesn't start automatically like in R11 and
older (thanks to Sergei Golovan)(EJAB-541)

SVN Revision: 1231
This commit is contained in:
Badlop 2008-03-13 14:34:47 +00:00
parent c62a0562a1
commit c086292651
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2008-03-13 Badlop <badlop@process-one.net>
* src/odbc/ejabberd_odbc.erl: Start ODBC explicitely because
Erlang R12 doesn't start automatically like in R11 and
older (thanks to Sergei Golovan)(EJAB-541)
* src/ejabberd.hrl: Removed unused ejabberd_debug and
PRIVACY_SUPPORT. Reordered the remaining options

View File

@ -246,6 +246,7 @@ execute_transaction(State, F, NRestarts) ->
%% part of init/1
%% Open an ODBC database connection
odbc_connect(SQLServer) ->
application:start(odbc),
case odbc:connect(SQLServer,[{scrollable_cursors, off}]) of
{ok, Ref} ->
erlang:monitor(process, Ref),