Commit d649d0cc authored by Sergei Golubchik's avatar Sergei Golubchik

with introduction of progress reporting, max error number is 65534

parent 69e076ec
...@@ -22,10 +22,11 @@ ...@@ -22,10 +22,11 @@
/* /*
The parser accepts any error code (desired) The parser accepts any error code (desired)
The runtime internally supports any error code (desired) The runtime internally supports any error code (desired)
The client server protocol is limited to 16 bits error codes (restriction) The client server protocol is limited to 16 bits error codes (restriction),
Enforcing the 65535 limit in the runtime until the protocol can change. and the value of 65535 is reserved for progress reporting.
Enforcing the 65534 limit in the runtime until the protocol can change.
*/ */
#define MAX_MYSQL_ERRNO UINT_MAX16 #define MAX_MYSQL_ERRNO 65534
const LEX_STRING Diag_condition_item_names[]= const LEX_STRING Diag_condition_item_names[]=
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment