mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Merge pull request #3435 from fdie/fix_odbc_binary_errors
also convert embedded errors to binary
This commit is contained in:
commit
e95ae66d3c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue