mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Merge pull request #3435 from fdie/fix_odbc_binary_errors
also convert embedded errors to binary
This commit is contained in:
commit
e95ae66d3c
@ -1034,7 +1034,7 @@ mysql_to_odbc({error, MySQLRes})
|
||||
when is_list(MySQLRes) ->
|
||||
{error, list_to_binary(MySQLRes)};
|
||||
mysql_to_odbc({error, MySQLRes}) ->
|
||||
{error, p1_mysql:get_result_reason(MySQLRes)};
|
||||
mysql_to_odbc({error, p1_mysql:get_result_reason(MySQLRes)});
|
||||
mysql_to_odbc(ok) ->
|
||||
ok.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user