FreeBSD Manual Pages
mysql_read_query_result(3) MariaDB Connector/C mysql_read_query_result(3)
Name
mysql_read_query_result - waits for a server result or response package
Synopsis
#include <mysql.h>
my_bool mysql_read_query_result(MYSQL * mysql);
Description
Waits for a server result set or response package from a previously ex-
ecuted mysql_send_query(3).
Parameters
• mysql - a mysql handle, which was previously allocated by
mysql_init(3) and connected by mysql_real_connect(3).
Return value
Zero on success, non zero on error.
Example
For an example how to use 'mysql_send_query()` in an event driven
model, please check Jan Kneschke's Blog entry "Async MySQL Queries with
C-API" <https://jan.kneschke.de/projects/mysql/async-mysql-queries-
with-c-api/>.
See also
• mysql_real_query(3)
• mysql_send_query(3)
Version 3.4 mysql_read_query_result(3)
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mysql_read_query_result&sektion=3&manpath=FreeBSD+Ports+15.0>
