1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Automerge.

This commit is contained in:
Ramil Kalimullin
2010-06-04 22:09:10 +04:00

View File

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