Interrupt execution
The mi_query_interrupt() function interrupts execution of the current statement on a connection. It releases resources that an mi_exec() function implicitly allocates without processing any remaining rows in a query. To release resources, mi_query_interrupt() has the same behavior as mi_query_finish().