summaryrefslogtreecommitdiff
path: root/include/sql_common.h
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2013-10-03 18:00:44 +0300
committerunknown <sanja@askmonty.org>2013-10-03 18:00:44 +0300
commitc776f5ac2614e24e64dd06f488ee29716f056c95 (patch)
tree54a20fcc5ac312f150bbb2b942246931b3ecc495 /include/sql_common.h
parentdd7339676b2a57e71f41075919ffca99bd1be937 (diff)
downloadmariadb-git-c776f5ac2614e24e64dd06f488ee29716f056c95.tar.gz
Client attributes
Diffstat (limited to 'include/sql_common.h')
-rw-r--r--include/sql_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sql_common.h b/include/sql_common.h
index 5a033fbe522..e7bade7e73b 100644
--- a/include/sql_common.h
+++ b/include/sql_common.h
@@ -43,6 +43,8 @@ struct st_mysql_options_extention {
const char *proc_info,
uint proc_info_length);
struct mysql_async_context *async_context;
+ HASH connection_attributes;
+ size_t connection_attributes_length;
};
typedef struct st_mysql_methods
@@ -116,6 +118,7 @@ int mysql_client_plugin_init();
void mysql_client_plugin_deinit();
struct st_mysql_client_plugin;
extern struct st_mysql_client_plugin *mysql_client_builtins[];
+uchar * send_client_connect_attrs(MYSQL *mysql, uchar *buf);
/* Non-blocking client API. */
void my_context_install_suspend_resume_hook(struct mysql_async_context *b,