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

Merge MWL#192: Non-blocking client library, into MariaDB 5.5.

This commit is contained in:
unknown
2012-02-21 22:15:44 +01:00
36 changed files with 5362 additions and 43 deletions

View File

@@ -26,6 +26,9 @@ extern const char *unknown_sqlstate;
extern const char *cant_connect_sqlstate;
extern const char *not_error_sqlstate;
struct mysql_async_context;
struct st_mysql_options_extention {
char *plugin_dir;
char *default_auth;
@@ -35,6 +38,7 @@ struct st_mysql_options_extention {
double progress,
const char *proc_info,
uint proc_info_length);
struct mysql_async_context *async_context;
};
typedef struct st_mysql_methods
@@ -108,6 +112,10 @@ void mysql_client_plugin_deinit();
struct st_mysql_client_plugin;
extern struct st_mysql_client_plugin *mysql_client_builtins[];
/* Non-blocking client API. */
void my_context_install_suspend_resume_hook(struct mysql_async_context *b,
void (*)(my_bool, void *), void *);
#ifdef __cplusplus
}
#endif