diff options
Diffstat (limited to 'tx.go')
-rw-r--r-- | tx.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -236,9 +236,7 @@ func (tx *Tx) close() { tx.db.rwlock.Unlock() // Merge statistics. - tx.db.statlock.Lock() - tx.db.stats.TxStats.add(&tx.stats) - tx.db.statlock.Unlock() + tx.db.mergeStats(&tx.stats) } else { tx.db.removeTx(tx) } |