1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

Client attributes

This commit is contained in:
unknown
2013-10-03 18:00:44 +03:00
parent dd7339676b
commit c776f5ac26
22 changed files with 597 additions and 27 deletions

View File

@@ -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,