You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Fix for CONC-608: Replace server error codes
Since Connector/C is not able to retrieve error strings for server error codes, the following error codes were replaced: - ER_NET_PACKET_TOO_LARFE by CR_NET_PACKET_TOO_LARGE - ER_OUT_OF_RESOURCES by CR_OUT_OF_MEMORY - ER_NET_WRITE_ERROR by CR_ERR_NET_WRITE (new constant) - ER_NET_UNCOMPRESS_ERROR by CR_ERR_NET_UNCOMPRESS (new constant)
This commit is contained in:
@@ -685,7 +685,7 @@ int test_connection_timeout2(MYSQL *unused __attribute__((unused)))
|
||||
|
||||
SKIP_SKYSQL;
|
||||
SKIP_MAXSCALE;
|
||||
// SKIP_TLS;
|
||||
SKIP_TLS;
|
||||
|
||||
mysql= mysql_init(NULL);
|
||||
mysql_options(mysql, MYSQL_OPT_CONNECT_TIMEOUT, (unsigned int *)&timeout);
|
||||
|
Reference in New Issue
Block a user