(mysql.info.gz) mysql_stmt_errno
Info Catalog
(mysql.info.gz) mysql_stmt_data_seek
(mysql.info.gz) C API Prepared statement functions
(mysql.info.gz) mysql_stmt_error
22.2.7.8 `mysql_stmt_errno()'
.............................
`unsigned int mysql_stmt_errno(MYSQL_STMT *stmt)'
Description
...........
For the statement specified by `stmt', `mysql_stmt_errno()' returns the
error code for the most recently invoked statement API function that
can succeed or fail. A return value of zero means that no error
occurred. Client error message numbers are listed in the MySQL
`errmsg.h' header file. Server error message numbers are listed in
`mysqld_error.h'. In the MySQL source distribution you can find a
complete list of error messages and error numbers in the file
`Docs/mysqld_error.txt'. The server error codes also are listed at
Error-handling.
This function was added in MySQL 4.1.0.
Return Values
.............
An error code value. Zero if no error occurred.
Errors
......
None.
Info Catalog
(mysql.info.gz) mysql_stmt_data_seek
(mysql.info.gz) C API Prepared statement functions
(mysql.info.gz) mysql_stmt_error
automatically generated byinfo2html