1mysql_read_query_result(3)    MariaDB Connector/C   mysql_read_query_result(3)
2
3
4
5   Name
6       mysql_read_query_result - waits for a server result or response package
7
8   Synopsis
9              #include <mysql.h>
10
11              my_bool mysql_read_query_result(MYSQL * mysql);
12
13   Description
14       Waits for a server result set or response package from a previously ex‐
15       ecuted mysql_send_query(3).
16
17   Parameters
18       • mysql  -  a  mysql  handle,  which  was   previously   allocated   by
19         mysql_init(3) and connected by mysql_real_connect(3).
20
21   Return value
22       Zero on success, non zero on error.
23
24   Example
25       For  an example how to use ’mysql_send_query()` in an event driven mod‐
26       el, please check Jan Kneschke’s Blog entry “Async  MySQL  Queries  with
27       C-API”     (https://jan.kneschke.de/projects/mysql/async-mysql-queries-
28       with-c-api/).
29
30   See also
31mysql_real_query(3)
32
33mysql_send_query(3)
34
35
36
37Version 3.2.2                                       mysql_read_query_result(3)
Impressum