mi_get_transaction_id
Posted in 2004
Clive Haworth — — source: Usenet: comp.databases.informix
Hi. I'm trying to use a new server Blade C-API function in IDS 9.40 on XP called mi_get_transaction_id(). It appears to return a constant for the session, rather than the id of the current transaction. Code is not exactly tricky: #include <mi.h> mi_integer transaction_id() { mi_integer ret; MI_CONNECTION *conn = mi_open(NULL, NULL, NULL); ret = mi_get_transaction_id(); mi_close(conn); return ret; } Has anybody got this to work ? Functions in IDS 9.30, such as mi_transaction_state() seem to work OK..... Cheers Clive Haworth