The method is used to get results of next query if CCI_EXEC_QUERY_ALL flag is set upon cci_execute. The information about the query fetched by next_result can be obtained with cci_get_result_info. If next_result is executed successfully, the database is updated with the information of the current query.
The error code CAS_ER_NO_MORE_RESULT_SET means that no more result set exists.
int cci_next_result(int req_handle, T_CCI_ERROR *err_buf)