From 6a2e71229042ce17c922ff796763743653606e89 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 8 Jul 2003 02:27:21 -0700 Subject: 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 --- include/mysql.h | 1 + include/mysql_com.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/mysql.h b/include/mysql.h index bd63a10ba45..27d6b03bd0b 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -566,6 +566,7 @@ unsigned long STDCALL mysql_param_count(MYSQL_STMT * stmt); my_bool STDCALL mysql_bind_param(MYSQL_STMT * stmt, MYSQL_BIND * bnd); my_bool STDCALL mysql_bind_result(MYSQL_STMT * stmt, MYSQL_BIND * bnd); my_bool STDCALL mysql_stmt_close(MYSQL_STMT * stmt); +my_bool STDCALL mysql_stmt_reset(MYSQL_STMT * stmt); my_bool STDCALL mysql_stmt_free_result(MYSQL_STMT *stmt); unsigned int STDCALL mysql_stmt_errno(MYSQL_STMT * stmt); const char *STDCALL mysql_stmt_error(MYSQL_STMT * stmt); diff --git a/include/mysql_com.h b/include/mysql_com.h index e87001ff27d..5eb59a1c7ab 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -44,6 +44,7 @@ enum enum_server_command COM_TIME, COM_DELAYED_INSERT, COM_CHANGE_USER, COM_BINLOG_DUMP, COM_TABLE_DUMP, COM_CONNECT_OUT, COM_REGISTER_SLAVE, COM_PREPARE, COM_EXECUTE, COM_LONG_DATA, COM_CLOSE_STMT, + COM_RESET_STMT, COM_END /* Must be last */ }; -- cgit v1.2.1