mysql_store_result - Man Page
Name
mysql_store_result - returns a buffered result set
Synopsis
#include <mysql.h> MYSQL_RES * mysql_store_result(MYSQL * mysql);
Description
Returns a buffered resultset from the last executed query. ### Notes
- 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(3).
Parameters
mysql
is a connection identifier, which was previously allocated by mysql_init(3) and connected by mysql_real_connect(3).
Return value
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). ## See also * mysql_free_result(3) * mysql_use_result(3) * mysql_real_query(3) * mysql_field_count(3)
Referenced By
mysql_data_seek(3), mysql_fetch_field(3), mysql_fetch_field_direct(3), mysql_fetch_fields(3), mysql_fetch_lengths(3), mysql_fetch_row(3), mysql_field_count(3), mysql_field_seek(3), mysql_field_tell(3), mysql_free_result(3), mysql_more_results(3), mysql_next_result(3), mysql_num_fields(3), mysql_num_rows(3), mysql_query(3), mysql_real_query(3), mysql_row_seek(3), mysql_row_tell(3), mysql_use_result(3).