Commit 9b5312db authored by Ramil Kalimullin's avatar Ramil Kalimullin

Automerge.

parents 86dc0f57 44fc4b8b
...@@ -496,6 +496,7 @@ check_user(THD *thd, enum enum_server_command command, ...@@ -496,6 +496,7 @@ check_user(THD *thd, enum enum_server_command command,
} }
my_ok(thd); my_ok(thd);
thd->password= test(passwd_len); // remember for error messages thd->password= test(passwd_len); // remember for error messages
#ifndef EMBEDDED_LIBRARY
/* /*
Allow the network layer to skip big packets. Although a malicious Allow the network layer to skip big packets. Although a malicious
authenticated session might use this to trick the server to read authenticated session might use this to trick the server to read
...@@ -503,6 +504,7 @@ check_user(THD *thd, enum enum_server_command command, ...@@ -503,6 +504,7 @@ check_user(THD *thd, enum enum_server_command command,
that needs to be preserved as to not break backwards compatibility. that needs to be preserved as to not break backwards compatibility.
*/ */
thd->net.skip_big_packet= TRUE; thd->net.skip_big_packet= TRUE;
#endif
/* Ready to handle queries */ /* Ready to handle queries */
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
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