mysql_stmt_error
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_stmt_error - Returns a string description for the last statement error
#include <mysql.h>
const char * mysql_stmt_error(MYSQL_STMT * stmt);
Returns a string containing the error message for the most recently invoked statement function that can succeed or fail. The string will be empty if no error occurred.