May 2005
Intermediate to advanced
352 pages
14h 39m
English
mysql_sqlstate( )
const char *mysql_sqlstate(MYSQL *mysql)
This returns the SQLSTATE error code for the last error that occurred for the current connection. The string will contain five characters and is terminated with a NULL character. A lack of error is signified by "00000" and unmapped errors by "HY000".
Read now
Unlock full access