1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

client side implemetation for MDEV-10340:

int STDCALL mysql_reset_connection(MYSQL *mysql)
This commit is contained in:
Georg Richter
2016-12-29 19:10:35 +01:00
parent cae391f7bf
commit 87e861c360
10 changed files with 215 additions and 5 deletions

View File

@@ -100,6 +100,7 @@ typedef struct st_ma_connection_plugin
int (*set_connection)(MYSQL *mysql,enum enum_server_command command, const char *arg,
size_t length, my_bool skipp_check, void *opt_arg);
my_bool (*reconnect)(MYSQL *mysql);
int (*reset)(MYSQL *mysql);
} MARIADB_CONNECTION_PLUGIN;
#define MARIADB_DB_DRIVER(a) ((a)->ext_db)