mysql_store_result
mysql_store_result retrieves a complete buffered result set from the last executed MariaDB query, returning NULL on error or for non-SELECT statements.
Last updated
Was this helpful?
mysql_store_result retrieves a complete buffered result set from the last executed MariaDB query, returning NULL on error or for non-SELECT statements.
MYSQL_RES * mysql_store_result(MYSQL * mysql);mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Returns a buffered result set from the last executed query.
Returns a buffered result set or NULL in case an error occurred or if the query didn't return data (e.g. when executing an INSERT, UPDATE, DELETE or REPLACE statement).
mysql_store_result() returns NULL in case an error occurred or if the query didn't return data (e.g. when executing an INSERT or UPDATE query.
mysql_field_count() indicates if there will be a result set available.
The memory allocated by mysql_store_result() needs to be released by calling the function mysql_free_result().
Last updated
Was this helpful?
Was this helpful?

