Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 46.3Mb
PDF (A4) - 46.3Mb
PDF (RPM) - 41.7Mb
HTML Download (TGZ) - 10.6Mb
HTML Download (Zip) - 10.7Mb
HTML Download (RPM) - 9.2Mb
Man Pages (TGZ) - 224.0Kb
Man Pages (Zip) - 329.4Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
Excerpts from this Manual

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

enum net_async_status mysql_real_query_nonblocking(MYSQL *mysql, const char *stmt_str, unsigned long length)


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

mysql_real_query_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_ERROR return status indicates an error.