summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-04-17 23:37:06 +0300
committerMichael Widenius <monty@askmonty.org>2013-04-17 23:37:06 +0300
commit8b714e507f9e2c216ad043a10db99ea558e9285b (patch)
treec73d5355619001021e0426fa1a955bf68f90fc5d /include/mysql.h
parent8e526985800678de20356cece1183f49f69c26f9 (diff)
downloadmariadb-git-8b714e507f9e2c216ad043a10db99ea558e9285b.tar.gz
Changed the client library to only mark memory as THREAD_SPECIFIC if one has called
mysql_options() with MYSQL_OPT_USE_THREAD_SPECIFIC_MEMORY include/mysql.h: Added MYSQL_OPT_USE_THREAD_SPECIFIC_MEMORY include/mysql.h.pp: Updated file sql-common/client.c: Marked client memory as THREAD_SPECIFIC sql/event_db_repository.cc: Fixed compiler warning sql/slave.cc: Marked client memory as THREAD_SPECIFIC storage/federatedx/federatedx_io_mysql.cc: Marked client memory as THREAD_SPECIFIC storage/federatedx/ha_federatedx.cc: Marked client memory as THREAD_SPECIFIC storage/sphinx/ha_sphinx.cc: Marked client memory as THREAD_SPECIFIC
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql.h b/include/mysql.h
index fa62026b44a..122b5a2751f 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -169,7 +169,7 @@ enum mysql_option
MYSQL_OPT_SSL_VERIFY_SERVER_CERT, MYSQL_PLUGIN_DIR, MYSQL_DEFAULT_AUTH,
MYSQL_PROGRESS_CALLBACK,
/* MariaDB options */
- MYSQL_OPT_NONBLOCK=6000
+ MYSQL_OPT_NONBLOCK=6000, MYSQL_OPT_USE_THREAD_SPECIFIC_MEMORY
};
/**
@@ -194,7 +194,7 @@ struct st_mysql_options {
unsigned long max_allowed_packet;
my_bool use_ssl; /* if to use SSL or not */
my_bool compress,named_pipe;
- my_bool unused1;
+ my_bool use_thread_specific_memory;
my_bool unused2;
my_bool unused3;
my_bool unused4;