diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-04-29 20:18:19 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-04-29 20:18:19 -0300 |
commit | 4e378bc55bd3abdb83e6c14e2aea0a70c6d61ddf (patch) | |
tree | f95e09dbdce7c6254c97619437e1231efe749ac6 /sql/sql_connect.cc | |
parent | 7ecad98c45ece1140e9f2cb7627741cde31fa2f7 (diff) | |
parent | 54705ab1762eb305f389d3cf1a16edc88b3361bc (diff) | |
download | mariadb-git-4e378bc55bd3abdb83e6c14e2aea0a70c6d61ddf.tar.gz |
Manual merge.
Diffstat (limited to 'sql/sql_connect.cc')
-rw-r--r-- | sql/sql_connect.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_connect.cc b/sql/sql_connect.cc index 16f11fe22c4..2039c7f7449 100644 --- a/sql/sql_connect.cc +++ b/sql/sql_connect.cc @@ -471,6 +471,13 @@ check_user(THD *thd, enum enum_server_command command, } my_ok(thd); thd->password= test(passwd_len); // remember for error messages + /* + Allow the network layer to skip big packets. Although a malicious + authenticated session might use this to trick the server to read + big packets indefinitely, this is a previously established behavior + that needs to be preserved as to not break backwards compatibility. + */ + thd->net.skip_big_packet= TRUE; /* Ready to handle queries */ DBUG_RETURN(0); } |