diff options
author | konstantin@mysql.com <> | 2004-03-16 01:04:04 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-03-16 01:04:04 +0300 |
commit | 420c956d279301f3af120b11da0e152bc4a8172c (patch) | |
tree | 752a7c190fcf0f92940319d09105b114f3e76d52 /include/sql_common.h | |
parent | e90c78ceb51e1f0e64ceea8ca55ceea1ba040109 (diff) | |
download | mariadb-git-420c956d279301f3af120b11da0e152bc4a8172c.tar.gz |
Intermediate commit of client library (cleanups + fixes of 3 items from
flaws list)
TODO:
* verify that no sequence of API calls produces SIGSEGV.
That is, verify that mysql_stmt_init -> mysql_stmt_fetch is OK,
or mysql_stmt_prepare -> mysql_stmt_fetch_column is OK and sets
meaningful error.
* remove alloc_stmt_fields call
* revise stmt->state codes and statement states.
* there are other items in prepared statements 'to fix' document.
Done:
- cleanups and comments
- revision of prepared statement error codes.
- mysql_stmt_prepare is now can always be called (that is, you can reprepare
a statement)
- new implementation of mysql_stmt_close and fetch cancellation
Diffstat (limited to 'include/sql_common.h')
-rw-r--r-- | include/sql_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sql_common.h b/include/sql_common.h index cde53786f83..3f50008a922 100644 --- a/include/sql_common.h +++ b/include/sql_common.h @@ -25,6 +25,7 @@ extern "C" { MYSQL_FIELD *unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields, my_bool default_value, uint server_capabilities); void free_rows(MYSQL_DATA *cur); +void flush_use_result(MYSQL *mysql); my_bool mysql_autenticate(MYSQL *mysql, const char *passwd); void free_old_query(MYSQL *mysql); void end_server(MYSQL *mysql); |