Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 47.0Mb
PDF (A4) - 47.1Mb
PDF (RPM) - 42.4Mb
HTML Download (TGZ) - 10.8Mb
HTML Download (Zip) - 10.9Mb
HTML Download (RPM) - 9.4Mb
Man Pages (TGZ) - 227.0Kb
Man Pages (Zip) - 333.7Kb
Info (Gzip) - 4.2Mb
Info (Zip) - 4.2Mb
Excerpts from this Manual

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

28.6.14.2 mysql_free_result_nonblocking()

enum net_async_status mysql_free_result_nonblocking(MYSQL_RES *result)

Description
Note

mysql_free_result_nonblocking() is an asynchronous function. It is the counterpart of the mysql_free_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.6.11, “C API Asynchronous Interface”.

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

mysql_free_result_nonblocking() was added in MySQL 8.0.16.

Return Values

Returns an enum net_async_status value. See the description in Section 28.6.12, “C API Asynchronous Interface Data Structures”. A NET_ASYNC_ERROR return status indicates an error.