mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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:
parent
7c377783fa
commit
04aec272db
@ -1,5 +1,9 @@
|
|||||||
2008-03-13 Badlop <badlop@process-one.net>
|
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
|
* src/ejabberd.hrl: Removed unused ejabberd_debug and
|
||||||
PRIVACY_SUPPORT. Reordered the remaining options
|
PRIVACY_SUPPORT. Reordered the remaining options
|
||||||
|
|
||||||
|
@ -246,6 +246,7 @@ execute_transaction(State, F, NRestarts) ->
|
|||||||
%% part of init/1
|
%% part of init/1
|
||||||
%% Open an ODBC database connection
|
%% Open an ODBC database connection
|
||||||
odbc_connect(SQLServer) ->
|
odbc_connect(SQLServer) ->
|
||||||
|
application:start(odbc),
|
||||||
case odbc:connect(SQLServer,[{scrollable_cursors, off}]) of
|
case odbc:connect(SQLServer,[{scrollable_cursors, off}]) of
|
||||||
{ok, Ref} ->
|
{ok, Ref} ->
|
||||||
erlang:monitor(process, Ref),
|
erlang:monitor(process, Ref),
|
||||||
|
Loading…
Reference in New Issue
Block a user