-
Notifications
You must be signed in to change notification settings - Fork 259
mysql_read_query_result
Georg Richter edited this page Aug 17, 2018
·
1 revision
mysql_read_query_result - waits for a server result or response package
#include <mysql.h>
my_bool mysql_read_query_result(MYSQL * mysql);
Waits for a server result set or response package from a previously executed mysql_send_query().
-
mysql
- a mysql handle, which was previously allocated by mysql_init() and connected by mysql_real_connect().
Zero on success, non zero on error.
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".
MariaDB Connector/C Reference