Fixed packet length for embedded tests

parent efdd32ce
...@@ -111,7 +111,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command, ...@@ -111,7 +111,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
} }
thd->net.no_send_error= 0; thd->net.no_send_error= 0;
result= dispatch_command(command, thd, (char *) arg, arg_length + 1); result= dispatch_command(command, thd, (char *) arg, arg_length);
thd->cur_data= 0; thd->cur_data= 0;
if (!skip_check) if (!skip_check)
......
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