diff options
author | Alexey Kopytov <Alexey.Kopytov@Sun.com> | 2010-05-07 20:17:55 +0400 |
---|---|---|
committer | Alexey Kopytov <Alexey.Kopytov@Sun.com> | 2010-05-07 20:17:55 +0400 |
commit | 77b0e893286ad25453e8f736e93aa5970ebe18b8 (patch) | |
tree | 1cb84ff0f047fa8321330c5e4c52eca6424494de /include | |
parent | e58c0596954d22262199a7228427e9a1c29d8c76 (diff) | |
parent | 5dd5d70506611ea68c7103fcf97512e3114fffae (diff) | |
download | mariadb-git-77b0e893286ad25453e8f736e93aa5970ebe18b8.tar.gz |
Manual merge of mysql-5.1-bugteam to mysql-trunk-merge.
Conflicts:
Text conflict in mysql-test/r/explain.result
Text conflict in mysql-test/t/explain.test
Text conflict in sql/net_serv.cc
Text conflict in sql/sp_head.cc
Text conflict in sql/sql_priv.h
Diffstat (limited to 'include')
-rw-r--r-- | include/mysql_com.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index e4e34141d43..e2baa06b160 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -300,6 +300,16 @@ typedef struct st_net { /** Client library sqlstate buffer. Set along with the error message. */ char sqlstate[SQLSTATE_LENGTH+1]; void *extension; +#if defined(MYSQL_SERVER) && !defined(EMBEDDED_LIBRARY) + /* + Controls whether a big packet should be skipped. + + Initially set to FALSE by default. Unauthenticated sessions must have + this set to FALSE so that the server can't be tricked to read packets + indefinitely. + */ + my_bool skip_big_packet; +#endif } NET; |