diff options
author | unknown <monty@mashka.mysql.fi> | 2003-11-19 17:31:57 +0200 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2003-11-19 17:31:57 +0200 |
commit | 6401f58ac629228b43b86900f323b4423ce6f5cd (patch) | |
tree | 443115763c8883fe2cec46dd174648a1c25aeedf /include | |
parent | 84281294eab2441a118d2c1414c6d6e531e89c5b (diff) | |
download | mariadb-git-6401f58ac629228b43b86900f323b4423ce6f5cd.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.h | 2 |
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); |