Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
mysql_store_result(3)	       MariaDB Connector/C	   mysql_store_result(3)

   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_re-
     sult(3) * mysql_real_query(3) * mysql_field_count(3)

Version 3.4						   mysql_store_result(3)

Want to link to this manual page? Use this URL:
<
https://man.freebsd.org/cgi/man.cgi?query=mysql_store_result&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help