|
The mi_command_is_finished() function reports whether the current statement has finished executing.
conn | is a pointer to the connection descriptor that a previous call to mi_open(), mi_server_connect(), or mi_server_reconnect() has established. |
The mi_command_is_finished() function determines whether execution has completed for the current statement on the connection that conn references. The current statement is the most recently executed SQL statement sent to the database server on that connection. The current statement is finished when either of the following conditions occurs:
The current statement must be finished before the database server can process the next statement. Use the mi_query_finish() function to force a statement to finish processing.
See the descriptions of the following functions: mi_server_connect(), mi_get_result(), and mi_query_finish().