diff options
author | Michael Widenius <monty@askmonty.org> | 2010-08-02 12:01:24 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2010-08-02 12:01:24 +0300 |
commit | e0a6b02c5d0a311e7167295494786077009743d1 (patch) | |
tree | 72c934fe42261ad5de3139961e092f57e9d147df /sql/sql_connect.cc | |
parent | d2f8b7d04503478ab6b6998194a2070891f0c2bb (diff) | |
parent | 6ad06b15222300e4eed4fe3972d1ad249c4c42a2 (diff) | |
download | mariadb-git-e0a6b02c5d0a311e7167295494786077009743d1.tar.gz |
Merge with MySQL 5.1.49
Fixed Bug#52005 'JOIN_TAB->dependent' may be incorrectly propageted for multilevel outer joins' in a better way (patch from Sergey Petrunya)
Diffstat (limited to 'sql/sql_connect.cc')
-rw-r--r-- | sql/sql_connect.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_connect.cc b/sql/sql_connect.cc index 88023bb8e71..67d52b26900 100644 --- a/sql/sql_connect.cc +++ b/sql/sql_connect.cc @@ -474,6 +474,12 @@ check_user(THD *thd, enum enum_server_command command, } } my_ok(thd); + /* + 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.net_skip_rest_factor= 2; // skip at most 2*max_packet_size thd->password= test(passwd_len); // remember for error messages /* Ready to handle queries */ |