Oracle 5.0 Reference Manual page 2187

Table of Contents

Advertisement

may be a
NULL
query
SHOW TABLES [LIKE
You must free the result set with mysql_free_result().
Return Values
A
MYSQL_RES
Errors
CR_COMMANDS_OUT_OF_SYNC
Commands were executed in an improper order.
CR_SERVER_GONE_ERROR
The MySQL server has gone away.
CR_SERVER_LOST
The connection to the server was lost during the query.
CR_UNKNOWN_ERROR
An unknown error occurred.
20.6.6.45.
mysql_more_results()
my_bool mysql_more_results(MYSQL *mysql)
Description
This function is used when you execute multiple statements specified as a single statement string, or
when you execute
mysql_more_results()
case the application must call
Return Values
(1) if more results exist.
TRUE
In most cases, you can call
initiate retrieval if so.
See
Section 20.6.15, "C API Support for Multiple Statement
"mysql_next_result()".
Errors
None.
20.6.6.46.
mysql_next_result()
int mysql_next_result(MYSQL *mysql)
Description
This function is used when you execute multiple statements specified as a single statement string, or
when you use
mysql_next_result()
more results exist. If
C API Function Descriptions
pointer to match all tables. Calling
wild].
result set for success.
[2942]
[2942]
[2942]
[2941]
statements, which can return multiple result sets.
CALL
true if more results exist from the currently executed statement, in which
mysql_next_result()
FALSE
mysql_next_result()
statements to execute stored procedures, which can return multiple result sets.
CALL
reads the next statement result and returns a status to indicate whether
mysql_next_result()
mysql_list_tables()
if an error occurred.
NULL
to fetch the results.
(0) if no more results exist.
instead to test whether more results exist and
returns an error, there are no more results.
2167
is similar to executing the
Execution", and
Section 20.6.6.46,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents