|
MySQL Connector/C++ 9.5.0
MySQL connector library for C and C++ applications
|
Functions | |
| mysqlx_error_t * | mysqlx_error (void *obj) |
| Get the last error from the object. More... | |
| const char * | mysqlx_error_message (void *obj) |
| Get the error message from the object. More... | |
| unsigned int | mysqlx_error_num (void *obj) |
| Get the error number from the object. More... | |
| unsigned int | mysqlx_result_warning_count (mysqlx_result_t *res) |
| Get the number of warnings generated by a statement. More... | |
| mysqlx_error_t * | mysqlx_result_next_warning (mysqlx_result_t *res) |
| Get the next warning from the result. More... | |
| mysqlx_error_t * mysqlx_error | ( | void * | obj | ) |
Get the last error from the object.
| obj | handle to the object to extract the error information from. Supported handle types are mysqlx_session_t, mysqlx_session_options_t, mysqlx_schema_t, mysqlx_collection_t, mysqlx_table_t, mysqlx_stmt_t, mysqlx_result_t, mysqlx_row_t, mysqlx_error_t |
| const char * mysqlx_error_message | ( | void * | obj | ) |
Get the error message from the object.
| obj | handle to the object to extract the error information from. Supported handle types are mysqlx_session_t, mysqlx_session_options_t, mysqlx_schema_t, mysqlx_collection_t, mysqlx_table_t, mysqlx_stmt_t, mysqlx_result_t, mysqlx_row_t, mysqlx_error_t |
| unsigned int mysqlx_error_num | ( | void * | obj | ) |
Get the error number from the object.
| obj | handle to the object to extract the error information from. Supported handle types are mysqlx_session_t, mysqlx_session_options_t, mysqlx_schema_t, mysqlx_collection_t, mysqlx_table_t, mysqlx_stmt_t, mysqlx_result_t, mysqlx_row_t, mysqlx_error_t |
| unsigned int mysqlx_result_warning_count | ( | mysqlx_result_t * | res | ) |
Get the number of warnings generated by a statement.
| res | result handle |
| mysqlx_error_t * mysqlx_result_next_warning | ( | mysqlx_result_t * | res | ) |
Get the next warning from the result.
This function returns a handle to a warning which can be examined using the same functions used for errors: mysqlx_error_num() and mysqlx_error_message().
| res | result handle |