Download this Manual
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb


7.4.6 mysql_real_query_nonblocking()

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

Description

Note

mysql_real_query_nonblocking() is an asynchronous function. It is the counterpart of themysql_real_query() synchronous function, for use by applications that require asynchronous communication with the server. For general information about writing asynchronous C API applications, seeChapter 7,C API Asynchronous Interface.

mysql_real_query_nonblocking() is used similarly tomysql_real_query(). For details about the latter, seeSection 5.4.62, “mysql_real_query()”. The two functions differ as follows:

mysql_real_query_nonblocking() was added in MySQL 8.0.16.

Return Values

Returns anenum net_async_status value. See the description inSection 7.2, “C API Asynchronous Interface Data Structures”. ANET_ASYNC_ERROR return status indicates an error.