Finish execution

The mi_query_finish() function completes execution of the current statement.

The function performs the following steps:
  • Processes any pending results that are not already processed with calls to mi_next_row()
  • Releases the implicit resources for the current statement

The mi_query_finish() function does not affect prepared statements or calls to DataBlade® API file-access functions. To determine whether the current statement has completed execution, use the mi_command_is_finished() function.