mysql_next_result
mysql_next_result advances to the next result set from a multi-statement query, making it available for retrieval via mysql_store_result or mysql_use_result.
Last updated
Was this helpful?
mysql_next_result advances to the next result set from a multi-statement query, making it available for retrieval via mysql_store_result or mysql_use_result.
int mysql_next_result(MYSQL * mysql);mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Prepares next result set from a previous call to mysql_real_query() which can be retrieved by mysql_store_result() or mysql_use_result().
Returns zero on success, nonzero if an error occurred.
If a multi query contains errors the return value of mysql_errno/error() might change and there will be no result set available.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?
Was this helpful?

