1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Fix for mysql_set_character_set:

Give a more detailled error information, in case SET NAMES failed.
This commit is contained in:
Georg Richter
2020-02-06 10:08:32 +01:00
parent 6dd1ed9cd6
commit 17ba6affa9

View File

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