From d2d369314239d34615f6a14963a5b11ab6100eac Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 19 Jan 2001 22:40:16 -0700 Subject: client/mysqltest.c added send/reap/dirty_close include/mysql.h mysql_send_query()/mysql_reap_query() libmysql/libmysql.c mysql_send_query()/mysql_reap_query() mysys/my_vsnprintf.c fixed critical bug that codedumped when connection aborted sql/sql_parse.cc 0 mysql-test/r/dirty-close.result New BitKeeper file ``mysql-test/r/dirty-close.result'' mysql-test/t/dirty-close.test New BitKeeper file ``mysql-test/t/dirty-close.test'' client/mysqltest.c: added send/reap/dirty_close include/mysql.h: mysql_send_query()/mysql_reap_query() libmysql/libmysql.c: mysql_send_query()/mysql_reap_query() mysys/my_vsnprintf.c: fixed critical bug that codedumped when connection aborted sql/sql_parse.cc: 0 --- include/mysql.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/mysql.h b/include/mysql.h index 5c2646b592d..fbc30b0373f 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -229,8 +229,12 @@ MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, void STDCALL mysql_close(MYSQL *sock); int STDCALL mysql_select_db(MYSQL *mysql, const char *db); int STDCALL mysql_query(MYSQL *mysql, const char *q); +int STDCALL mysql_send_query(MYSQL *mysql, const char *q); +int STDCALL mysql_reap_query(MYSQL *mysql); int STDCALL mysql_real_query(MYSQL *mysql, const char *q, unsigned int length); +int STDCALL mysql_real_send_query(MYSQL *mysql, const char *q, + unsigned int len); int STDCALL mysql_create_db(MYSQL *mysql, const char *DB); int STDCALL mysql_drop_db(MYSQL *mysql, const char *DB); int STDCALL mysql_shutdown(MYSQL *mysql); -- cgit v1.2.1