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

renamed exported function mysql_reconnect to mariadb_reconnect

This commit is contained in:
Georg Richter
2016-02-24 08:26:34 +01:00
parent d316a29eee
commit f7d7730bc1
3 changed files with 8 additions and 7 deletions

View File

@@ -570,7 +570,7 @@ unsigned long STDCALL mysql_hex_string(char *to, const char *from, size_t len);
my_socket STDCALL mysql_get_socket(MYSQL *mysql);
unsigned int STDCALL mysql_get_timeout_value(const MYSQL *mysql);
unsigned int STDCALL mysql_get_timeout_value_ms(const MYSQL *mysql);
my_bool STDCALL mysql_reconnect(MYSQL *mysql);
my_bool STDCALL mariadb_reconnect(MYSQL *mysql);
/* Async API */
int STDCALL mysql_close_start(MYSQL *sock);
@@ -768,7 +768,7 @@ struct st_mariadb_api {
my_socket (STDCALL *mysql_get_socket)(MYSQL *mysql);
unsigned int (STDCALL *mysql_get_timeout_value)(const MYSQL *mysql);
unsigned int (STDCALL *mysql_get_timeout_value_ms)(const MYSQL *mysql);
my_bool (STDCALL *mysql_reconnect)(MYSQL *mysql);
my_bool (STDCALL *mariadb_reconnect)(MYSQL *mysql);
MYSQL_STMT * (STDCALL *mysql_stmt_init)(MYSQL *mysql);
int (STDCALL *mysql_stmt_prepare)(MYSQL_STMT *stmt, const char *query, size_t length);
int (STDCALL *mysql_stmt_execute)(MYSQL_STMT *stmt);