Pre-General Availability Draft: 2018-02-20
In addition to the result set returned by a query, you can also get the following information:
For a fast re-create, use
mysql_num_rows()returns the number of rows in a result set. With
mysql_num_rows()may be called as soon as
mysql_num_rows()may be called only after you have fetched all the rows with
Some queries (
LOAD DATA INFILE ...,
INSERT INTO ... SELECT ...,
UPDATE) return additional information. The result is returned by
mysql_info(). See the description for
mysql_info()for the format of the string that it returns.
NULLpointer if there is no additional information.