mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Fix for bug #53912: Fails to build from source
NET::skip_big_packet isn't defined for the embedded server, hide it in such a case.
This commit is contained in:
parent
dcd9abee2e
commit
752db5b2e8
1 changed files with 2 additions and 0 deletions
|
@ -471,6 +471,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
|
||||
|
@ -478,6 +479,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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue