endTransaction
Ends the current transaction with a commit if successful is true
or a rollback if not.
Sets the current transaction to the enclosing transaction if any exists, even though this currently has no real meaning because MySQL does not support nesting transactions.