Erlang R12 doesn't start automatically like in R11 and
older (thanks to Sergei Golovan)(EJAB-541)
SVN Revision: 1231
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
%% 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),