MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0 mysql_fetch_row_nonblocking()

enum net_async_status mysql_fetch_row_nonblocking(MYSQL_RES *result, MYSQL_ROW *row)


mysql_fetch_row_nonblocking() is an asynchronous function. It is the counterpart of the mysql_fetch_row() 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_fetch_row_nonblocking() is used similarly to mysql_fetch_row(). For details about the latter, see Section, “mysql_fetch_row()”. The two functions differ as follows:

mysql_fetch_row_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.


See Section 28.6.11, “C API Asynchronous Interface”.