edmiAbortTransaction


 

EdmiError edmiAbortTransaction(void);


Abort (and close) the current open transaction. All changes made to the EDMdatabase in the current open transaction 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 #2 and close transaction #2 */
 if (rstat = edmiAbortTransaction ())goto errorInTransaction;
 . . .

 

See also

Filter by label

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