FreeBSD Manual Pages
mysql_stmt_store_result(3) MariaDB Connector/C mysql_stmt_store_result(3)
Name
mysql_stmt_store_result - Transfers a result set from a prepared state-
ment
Synopsis
#include <mysql.h>
int mysql_stmt_store_result(MYSQL_STMT * stmt);
Description
You must call mysql_stmt_store_result() for every query that success-
fully produces a result set only if you want to buffer the complete re-
sult set by the client, so that the subsequent mysql_stmt_fetch(3) call
returns buffered data.
Parameter
• stmt - a statement handle, which was previously allocated by
mysql_stmt_init(3).
Return value
Returns zero on success, nonzero if an error occurred. ## Notes * You
can detect whether the statement produced a result set by checking the
return value of mysql_stmt_field_count(3) function.
See Also
• mysql_stmt_field_count(3)
• mysql_stmt_fetch(3)
Version 3.4 mysql_stmt_store_result(3)
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mysql_stmt_store_result&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>
