You are here : cpp0mysql_more_results

mysql_more_results() - 0

 This function is used when you execute multiple statements
        specified as a single statement string, or when you execute
        CALL statements, which can return
        multiple result sets.CALLCALLmysql_more_results() true if
        more results exist from the currently executed statement, in
        which case the application must call
        mysql_next_result() to fetch the
        results.mysql_more_results()mysql_more_results()mysql_next_result()mysql_next_result()


Syntax

my_bool mysql_more_results(MYSQL *mysql)


Example

 


Output / Return Value

 TRUE (1) if more results exist.
        FALSE (0) if no more results exist.TRUEFALSEIn most cases, you can call
        mysql_next_result() instead to
        test whether more results exist and initiate retrieval if so.mysql_next_result()mysql_next_result()See Section 25.8.17, “C API Support for Multiple Statement Execution”, and
        Section 25.8.7.47, “mysql_next_result()”.Section 25.8.17, “C API Support for Multiple Statement Execution”Section 25.8.7.47, “mysql_next_result()”


Limitations


Alternatives / See Also


Reference