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 | 9a2f98198903de89ab08ce7906e4307fe5ad50a9 (patch) | |
tree | 1cb84ff0f047fa8321330c5e4c52eca6424494de /include/mysql_com.h | |
parent | 480a4852a01088cdc8638934f13469b6bf54effe (diff) | |
parent | 5b6ebdf086fe0506dc1d2cb70a95f9633fd7a782 (diff) | |
download | mariadb-git-9a2f98198903de89ab08ce7906e4307fe5ad50a9.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/mysql_com.h')
-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; |