You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +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:
@@ -159,6 +159,13 @@ const char *mariadb_client_errors[] =
|
||||
/* 5006 */ "Bulk operation without parameters is not supported",
|
||||
/* 5007 */ "Invalid statement handle",
|
||||
/* 5008 */ "Unsupported version %d. Supported versions are in the range %d - %d",
|
||||
/* 5009 */ "",
|
||||
/* 5010 */ "",
|
||||
/* 5011 */ "",
|
||||
/* 5012 */ "",
|
||||
/* 5013 */ "Read error: %s (%d)",
|
||||
/* 5014 */ "Write error: %s (%d)",
|
||||
/* 5015 */ "Error while uncompressing packet",
|
||||
""
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user