when not using nested transactions, will return 1 or 0
functionality for committing/rolling back all active transactions