Merge "Don't send COMMIT if not in a transaction."