diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-05-28 09:47:58 +0400 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-05-28 09:47:58 +0400 |
commit | 59a99129634a020bc618324db1c36f36f9e14493 (patch) | |
tree | 88543c956886365a2376e01ce26a0436c38a4454 /include/mysql_com.h | |
parent | 7758bdc8aad36927db408b4bc9546d39ef646c3c (diff) | |
parent | eb27f163a31ca6995c98ada9fc678176c041dd93 (diff) | |
download | mariadb-git-59a99129634a020bc618324db1c36f36f9e14493.tar.gz |
Auto-merge from mysql-trunk.
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 c510c12dbf7..90fe4ac1995 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -307,6 +307,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; |