char *mysql_stmt_error(MYSQL_STMT *stmt);
#include <mysql.h>
static MYSQL_STMT *hOrdreSql;
static unsigned int CodeErreur;
static char *MessageErreur;
...
CodeErreur=mysql_stmt_errno(hOrdreSql);
...
MessageErreur=mysql_stmt_error(hOrdreSql);
...