mysql_errno
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_errno - returns the last error code for the most recent function call
#include <mysql.h>
unsigned int mysql_errno(MYSQL * mysql);
Returns the last error code for the most recent function call that can succeed or fail. Zero means no error occurred.