diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mysql.h | 1 | ||||
-rw-r--r-- | include/sql_common.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h index c2f653e24d7..6ec64220706 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -560,6 +560,7 @@ typedef struct st_mysql_methods MYSQL_ROW column, uint field_count); MYSQL_FIELD * (STDCALL *list_fields)(MYSQL *mysql); my_bool (STDCALL *read_prepare_result)(MYSQL *mysql, MYSQL_STMT *stmt); + int (STDCALL *stmt_execute)(MYSQL_STMT *stmt); } MYSQL_METHODS; MYSQL_STMT * STDCALL mysql_prepare(MYSQL * mysql, const char *query, diff --git a/include/sql_common.h b/include/sql_common.h index 1ca1b9b2348..1f442339c4f 100644 --- a/include/sql_common.h +++ b/include/sql_common.h @@ -34,6 +34,13 @@ void end_server(MYSQL *mysql); my_bool mysql_reconnect(MYSQL *mysql); void mysql_read_default_options(struct st_mysql_options *options, const char *filename,const char *group); +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); + +void set_stmt_errmsg(MYSQL_STMT * stmt, const char *err, int errcode, + const char *sqlstate); #ifdef __cplusplus } #endif |