const char *mysql_sqlstate(MYSQL *mysql)
mysql_sqlstate is in work by code-reference.com if you are faster… don't hasitate and add it
no example at the moment