diff options
author | unknown <konstantin@mysql.com> | 2004-06-06 02:27:05 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-06-06 02:27:05 +0400 |
commit | 5cc410bb70dca2fad9dd7452ef294e1020186dda (patch) | |
tree | c3b880ff83a1e7f214dc008d5539962f811aad06 /include/mysql.h | |
parent | 780fdb02fdd148ddbdcd14055d0ddcb1b8dd5649 (diff) | |
download | mariadb-git-5cc410bb70dca2fad9dd7452ef294e1020186dda.tar.gz |
mysql_stmt_field_count()
include/mysql.h:
mysql_stmt_field_count() declaration
libmysql/libmysql.c:
added mysql_stmt_field_count():
we need this function to ease use of mysql_stmt_result_metadata:
if mysql_stmt_field_count() != 0 mysql_stmt_result_metadata fails
only if OOM.
libmysql/libmysql.def:
declaration for mysql_stmt_field_count()
Diffstat (limited to 'include/mysql.h')
-rw-r--r-- | include/mysql.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h index d7c47667d0c..71bff833d59 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -710,6 +710,7 @@ void STDCALL mysql_stmt_data_seek(MYSQL_STMT *stmt, my_ulonglong offset); my_ulonglong STDCALL mysql_stmt_num_rows(MYSQL_STMT *stmt); my_ulonglong STDCALL mysql_stmt_affected_rows(MYSQL_STMT *stmt); my_ulonglong STDCALL mysql_stmt_insert_id(MYSQL_STMT *stmt); +unsigned int STDCALL mysql_stmt_field_count(MYSQL_STMT *stmt); my_bool STDCALL mysql_commit(MYSQL * mysql); my_bool STDCALL mysql_rollback(MYSQL * mysql); |