mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
SCRUM
prepared statements in embedded library include/mysql.h: stmt_execute 'virtual' method added include/sql_common.h: two functions became global libmysql/client_settings.h: declaration for cli_stmt_execute libmysql/libmysql.c: some functions changed to be usable from embedded library libmysqld/lib_sql.cc: code for embedded stmt_execute added sql-common/client.c: cli_stmt_execute added to the methods table sql/client_settings.h: no need for prepared statements in miniclient
This commit is contained in:
@@ -636,10 +636,10 @@ void free_rows(MYSQL_DATA *cur)
|
||||
}
|
||||
}
|
||||
|
||||
static my_bool STDCALL
|
||||
my_bool STDCALL
|
||||
cli_advanced_command(MYSQL *mysql, enum enum_server_command command,
|
||||
const char *header, ulong header_length,
|
||||
const char *arg, ulong arg_length, my_bool skip_check)
|
||||
const char *header, ulong header_length,
|
||||
const char *arg, ulong arg_length, my_bool skip_check)
|
||||
{
|
||||
NET *net= &mysql->net;
|
||||
my_bool result= 1;
|
||||
@@ -1407,7 +1407,8 @@ static MYSQL_METHODS client_methods=
|
||||
cli_mysql_use_result,
|
||||
cli_fetch_lengths,
|
||||
cli_list_fields,
|
||||
cli_read_prepare_result
|
||||
cli_read_prepare_result,
|
||||
cli_stmt_execute
|
||||
};
|
||||
|
||||
MYSQL * STDCALL
|
||||
|
Reference in New Issue
Block a user