Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for mysql_set_character_set:
Give a more detailled error information, in case SET NAMES failed.
  • Loading branch information
9EOR9 committed Feb 6, 2020
1 parent 6dd1ed9 commit 17ba6af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libmariadb/mariadb_lib.c
Expand Up @@ -3523,6 +3523,7 @@ int STDCALL mysql_set_character_set(MYSQL *mysql, const char *csname)
mysql->charset= cs;
return(0);
}
return(mysql->net.last_errno);
}

error:
Expand Down

0 comments on commit 17ba6af

Please sign in to comment.