summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-04 15:17:16 +0200
committermonty@mashka.mysql.fi <>2003-01-04 15:17:16 +0200
commit6d5ad61a11f2ad9d5b184bc9e6c7a7477e33006c (patch)
treee7bb6542649b4462645d81fcac99546b763041a0 /include/mysql.h
parent9a64d3a17c9a7a47d97cbab233679ee30f9c2a0e (diff)
downloadmariadb-git-6d5ad61a11f2ad9d5b184bc9e6c7a7477e33006c.tar.gz
Added support for max_allowed_packet in option files read by mysql_option()
Extended max_allowed_packet for clients to 1G Fixed bug in sending compressed rows >= 16M Fix bug in skiping too long packets from clients. Added checking of wrong command number sent by client.
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index d581df91f64..8d497720a23 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -119,6 +119,7 @@ struct st_mysql_options {
char *ssl_ca; /* PEM CA file */
char *ssl_capath; /* PEM directory of CA-s? */
char *ssl_cipher; /* cipher to use */
+ unsigned long max_allowed_packet;
my_bool use_ssl; /* if to use SSL or not */
my_bool compress,named_pipe;
/*