Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 101708 | Differences between
and this patch

Collapse All | Expand All

(-)ejabberd-1.1.1.orig/src/odbc/ejabberd_odbc.erl (+1 lines)
Lines 281-286 Link Here
281
    case mysql_conn:start(Server, ?MYSQL_PORT, Username, Password, DB, NoLogFun) of
281
    case mysql_conn:start(Server, ?MYSQL_PORT, Username, Password, DB, NoLogFun) of
282
	{ok, Ref} ->
282
	{ok, Ref} ->
283
	    erlang:monitor(process, Ref),
283
	    erlang:monitor(process, Ref),
284
	    catch mysql_conn:fetch(Ref, "SET NAMES 'utf8';", self()),
284
	    {ok, #state{db_ref = Ref, db_type = mysql}};
285
	    {ok, #state{db_ref = Ref, db_type = mysql}};
285
	{error, Reason} ->
286
	{error, Reason} ->
286
	    ?ERROR_MSG("MySQL connection failed: ~p~n", [Reason]),
287
	    ?ERROR_MSG("MySQL connection failed: ~p~n", [Reason]),

Return to bug 101708