Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 2 Metaspace : Metaspace Operations : tibasMetaspace_CommitTransaction()

tibasMetaspace_CommitTransaction()
Function
Declaration
tibas_status tibasMetaspace_CommitTransaction
(tibasMetaspace  metaspace)
Purpose
Commits all the space operations invoked since the tibasMetaspace_BeginTransaction()function or the tibasMetaspace_AcquireContext() function was called.
Parameters
 
Remarks
Use the tibasMetaspace_CommitTransaction() function to commit a transaction that has been initiated by the tibasMetaspace_BeginTransaction()function. When you commit the transaction, all of the operations accumulated in the current thread where tibasMetaspace_BeginTransaction() was invoked are executed.
In general, call tibasMetaspace_CommitTransaction() if none of the operations in the transaction failed; otherwise, call tibasMetaspaceRollbackTransaction() to roll back the operations.
See Also
tibasMetaspace_BeginTransaction(), tibasMetaspace_RollbackTransaction(), tibasMetaspace_ReleaseContext(), tibasMetaspace_AcquireContext()

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved