txn_db: fix commit()

- dummy error with short-cut for transaction commit