Code Sample: Enable Your Application for Persistent Memory with MySQL...
…To close the transaction we use the pmemobj_tx_end() function provided by libpmemobj. The pmemobj_tx_end() function performs a cleanup of the current transaction. If called in the context of…