Syntax:
ROW_COUNT()

ROW_COUNT() returns the number of rows updated, inserted, or deleted by
the preceding statement. This is the same as the row count that the
mysql client displays and the value from the mysql_affected_rows() C
API function.

URL: http://dev.mysql.com/doc/refman/5.1/en/information-functions.html

