Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 45.2Mb
PDF (A4) - 45.3Mb
PDF (RPM) - 40.8Mb
HTML Download (TGZ) - 10.5Mb
HTML Download (Zip) - 10.5Mb
HTML Download (RPM) - 9.0Mb
Man Pages (TGZ) - 208.5Kb
Man Pages (Zip) - 310.7Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
Excerpts from this Manual

MySQL 8.0 Reference Manual  /  ...  /  mysql_next_result_nonblocking()

28.7.15.3 mysql_next_result_nonblocking()

enum net_async_status mysql_next_result_nonblocking(MYSQL *mysql)

Description
Note

mysql_next_result_nonblocking() is an asynchronous function. It is the counterpart of the mysql_next_result() synchronous function, for use by applications that require asynchronous communication with the server. For general information about writing asynchronous C API applications, see Section 28.7.12, “C API Asynchronous Interface”.

mysql_next_result_nonblocking() is used similarly to mysql_next_result(). For details about the latter, see Section 28.7.7.47, “mysql_next_result()”. The two functions differ as follows:

mysql_next_result_nonblocking() was added in MySQL 8.0.16.

Return Values

Returns an enum net_async_status value. See the description in Section 28.7.13, “C API Asynchronous Interface Data Structures”. A NET_ASYNC_COMPLETE_NO_MORE_RESULTS return status indicates there are no more results available. A NET_ASYNC_ERROR return status indicates an error.