INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_command_is_finished()

The mi_command_is_finished() function reports whether the current statement or command is finished executing.

Syntax

Usage

A statement is finished when the database server has completed the statement and the last row has been fetched by the application (if the statement returned row data) or when a server exception has aborted the statement.

The current statement must be finished before the database server can process the next statement. The mi_query_finish() function can be used to force a statement to finish processing.

Return Values

On success, returns 1 if the current statement active on the current connection has completed, 0 if it has not completed. On failure, returns MI_ERROR.

Related Topics

For additional information, see the descriptions of the following functions: mi_server_connect(), mi_get_result(), and mi_query_finish().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.