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

mi_xact_state()

The mi_xact_state() function finds out what type of transition has occurred.

Syntax

Usage

Important: The DataBlade API provides this function only for backward compatibility.

This accessor function is used in a callback routine on notification of a transaction state transition; that is, entering or exiting a transaction. The client application can handle the MI_Xact_State_Change event and use this function on client data to determine what kind of transition occurred.

Return Values

On success, returns the type of transaction that occurred. The three possible return values are MI_XACT_BEGIN, MI_XACT_END, and MI_XACT_ABORT.

Related Topics

For additional information, see "Callbacks" and the description of the mi_xact_levels() function.




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