mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
implementation of mysql_stmt_reset client end
include/mysql.h: add mysql_stmt_reset prototype include/mysql_com.h: add COM_STMT_RESET libmysql/libmysql.def: Add mysql_stmt_reset def sql/sql_prepare.cc: Fix selects hang after windows slowdown issue fix (send_fields) sql/sql_parse.cc: Add COM_STMT_RESET sql/mysql_priv.h: add defination of mysql_stmt_reset
This commit is contained in:
@ -965,7 +965,7 @@ void mysql_stmt_reset(THD *thd, char *packet)
|
||||
PREP_STMT *stmt;
|
||||
DBUG_ENTER("mysql_stmt_reset");
|
||||
|
||||
if (!(stmt=find_prepared_statement(thd, stmt_id, "close")))
|
||||
if (!(stmt= find_prepared_statement(thd, stmt_id, "reset")))
|
||||
{
|
||||
send_error(thd);
|
||||
DBUG_VOID_RETURN;
|
||||
|
Reference in New Issue
Block a user