Complete execution

The DataBlade® API provides functions to complete execution of the current statement.

DataBlade API function Statement completion
mi_query_finish() Finishes processing any remaining rows and releases implicitly allocated resources for the current statement
mi_query_interrupt() Releases implicitly allocated resources for the current statement

After each of these functions executes, the next iteration of the mi_get_result() function returns a status of MI_NO_MORE_RESULTS.