also convert embedded errors to binary

This commit is contained in:
Frank Diebolt 2020-12-03 19:56:58 +01:00
parent 0371b0f664
commit 8f04491a4d
1 changed files with 1 additions and 1 deletions

View File

@ -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.