Use the
awTxAbort function to end a transaction. The
awTxAbort function discards all work previously performed. The following example contains an excerpt that shows the use of the
awTxAbort function to abort a transaction:
. . .
err = awTxAbort(txclient);
if (!verifyNoError(__FILE__,"awTxAbort",__LINE__,err)) {
return 0;
}
. . .