GNU Info

Info Node: (mysql.info)mysql_errno

(mysql.info)mysql_errno


Next: mysql_error Prev: mysql_eof Up: C API functions
Enter node , (file) or (file)node

`mysql_errno()'
...............

`unsigned int mysql_errno(MYSQL *mysql)'

Description
...........

For the connection specified by `mysql', `mysql_errno()' returns the
error code for the most recently invoked 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'.

Return Values
.............

An error code value. Zero if no error occurred.

Errors
......

None.


automatically generated by info2www version 1.2.2.9