MySQL :: MySQL 8.4 C API Developer Guide :: 5.4.87 mysql_warning_count() (original) (raw)

The world's most popular open source database

5.4.87 mysql_warning_count()

unsigned int
mysql_warning_count(MYSQL *mysql)

Description

Returns the number of errors, warnings, and notes generated during execution of the previous SQL statement.

Return Values

The warning count.