edmiAbortAllTransactions


 

EdmiError edmiAbortAllTransactions(void);

Abort (and close) all open transactions. All changes made to the EDMdatabase in any of the current open transactions will be undone.

Arguments


Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

 EdmiError rstat;
 . . .
 /* Open transaction #1 */
 if (rstat = edmiStartTransaction()) goto errorInTransaction;
 . . .
 /* Open transaction #2 */
 if (rstat = edmiStartTransaction()) goto errorInTransaction;
 . . .
 /* Undo all changes done in transaction #1 and transaction #2 */
 if (rstat = edmiAbortAllTransactions())goto errorInTransaction;
 /* All transactions are closed */
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.

 

Â