summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-11-19 17:31:57 +0200
committerunknown <monty@mashka.mysql.fi>2003-11-19 17:31:57 +0200
commitb2b6a62f782d9ef7f2daf5a164b6f70d6c698d86 (patch)
tree443115763c8883fe2cec46dd174648a1c25aeedf /include
parent65b3e7728d95d2b7eb5b77baeefa108d2f289aea (diff)
downloadmariadb-git-b2b6a62f782d9ef7f2daf5a164b6f70d6c698d86.tar.gz
Changed mysql_next_result() to return int instead of bool
Changed ~Item_func_in() to call cleanup() (to fix memory leak) Fixed test_multi_statements() test in client_test include/mysql.h: Changed mysql_next_result() to return int instead of bool libmysql/libmysql.c: Changed mysql_next_result() to return int instead of bool Added check to mysql_next_result() to ensure that it's not called in wrong context. sql/item_cmpfunc.cc: Indentation fixes sql/item_cmpfunc.h: Changed ~Item_func_in() to call cleanup() (Fixed memory leak in cmp_item_row()) tests/client_test.c: Fixed test_multi_statements() test.
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql.h b/include/mysql.h
index 2098ed0516a..b31c04c755b 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -604,7 +604,7 @@ MYSQL_RES *STDCALL mysql_param_result(MYSQL_STMT *stmt);
my_ulonglong STDCALL mysql_stmt_affected_rows(MYSQL_STMT *stmt);
int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt);
my_bool STDCALL mysql_more_results(MYSQL *mysql);
-my_bool STDCALL mysql_next_result(MYSQL *mysql);
+int STDCALL mysql_next_result(MYSQL *mysql);
MYSQL_ROW_OFFSET STDCALL mysql_stmt_row_seek(MYSQL_STMT *stmt,
MYSQL_ROW_OFFSET offset);
MYSQL_ROW_OFFSET STDCALL mysql_stmt_row_tell(MYSQL_STMT *stmt);