mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
MDEV-19275 SQL service for plugins.
host/user/db arguments of the mysql_real_connect_local() are removed.
This commit is contained in:
committed by
Oleksandr Byelkin
parent
74daa97adf
commit
e1f9a80900
@@ -467,9 +467,7 @@ int json_unescape_json(const char *json_str, const char *json_end,
|
||||
extern "C" {
|
||||
extern struct sql_service_st {
|
||||
MYSQL *(STDCALL *mysql_init_func)(MYSQL *mysql);
|
||||
MYSQL *(*mysql_real_connect_local_func)(MYSQL *mysql,
|
||||
const char *host, const char *user, const char *db,
|
||||
unsigned long clientflag);
|
||||
MYSQL *(*mysql_real_connect_local_func)(MYSQL *mysql);
|
||||
MYSQL *(STDCALL *mysql_real_connect_func)(MYSQL *mysql, const char *host,
|
||||
const char *user, const char *passwd, const char *db, unsigned int port,
|
||||
const char *unix_socket, unsigned long clientflag);
|
||||
@@ -484,9 +482,7 @@ extern struct sql_service_st {
|
||||
MYSQL_ROW (STDCALL *mysql_fetch_row_func)(MYSQL_RES *result);
|
||||
void (STDCALL *mysql_close_func)(MYSQL *mysql);
|
||||
} *sql_service;
|
||||
MYSQL *mysql_real_connect_local(MYSQL *mysql,
|
||||
const char *host, const char *user, const char *db,
|
||||
unsigned long clientflag);
|
||||
MYSQL *mysql_real_connect_local(MYSQL *mysql);
|
||||
}
|
||||
}
|
||||
struct st_mysql_xid {
|
||||
|
Reference in New Issue
Block a user