Remove duplicate checkpoint() invocation

This commit is contained in:
Ben Johnson 2020-08-21 08:25:04 -06:00
parent 57babb3269
commit 162bd0303a

View file

@ -86,10 +86,6 @@ func (tx *Tx) Commit() error {
tx.db.mu.Unlock()
}
if err := tx.db.checkpoint(); err != nil {
return err
}
// Disconnect transaction from DB.
return tx.db.removeTx(tx)
}