mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
Remove duplicate checkpoint() invocation
This commit is contained in:
parent
57babb3269
commit
162bd0303a
1 changed files with 0 additions and 4 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue