aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbadlop <badlop@process-one.net>2020-12-04 13:48:13 +0100
committerGitHub <noreply@github.com>2020-12-04 13:48:13 +0100
commite95ae66d3c12d722ed7245ff6ed1510b799a49b5 (patch)
treee16a0e4d7e88a354773a75ae72d6334299b70aed /src
parentSimplify updating disk room options in set_room_affiliation (diff)
parentalso convert embedded errors to binary (diff)
Merge pull request #3435 from fdie/fix_odbc_binary_errors
also convert embedded errors to binary
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_sql.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_sql.erl b/src/ejabberd_sql.erl
index 0fd338222..70d0eff09 100644
--- a/src/ejabberd_sql.erl
+++ b/src/ejabberd_sql.erl
@@ -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.