MySQL 8.0 C API Developer Guide  /  C API Asynchronous Interface Data Structures

Chapter 13 C API Asynchronous Interface Data Structures

This section describes data structures specific to asynchronous C API functions. For information about general-purpose C API data structures, see Chapter 5, C API Data Structures.

  • enum net_async_status

    The enumeration type used to express the return status of asynchronous C API functions. The following table shows the permitted status values.

    Enumeration Status Value Description
    NET_ASYNC_COMPLETE Asynchronous operation is complete
    NET_ASYNC_NOT_READY Asynchronous operation is still in progress
    NET_ASYNC_ERROR Asynchronous operation terminated in error
    NET_ASYNC_COMPLETE_NO_MORE_RESULTS For mysql_next_result_nonblocking(); indicates no more results available

    For more information, see Chapter 12, C API Asynchronous Interface.