leveldb: fixes compaction commit racy (fixes #133)
diff --git a/leveldb/db_compaction.go b/leveldb/db_compaction.go
index c228e24..9664e64 100644
--- a/leveldb/db_compaction.go
+++ b/leveldb/db_compaction.go
@@ -548,9 +548,7 @@
 		db.logf("table@move L%d@%d -> L%d", c.sourceLevel, t.fd.Num, c.sourceLevel+1)
 		rec.delTable(c.sourceLevel, t.fd.Num)
 		rec.addTableFile(c.sourceLevel+1, t)
-		db.compactionTransactFunc("table@move", func(cnt *compactionTransactCounter) (err error) {
-			return db.s.commit(rec)
-		}, nil)
+		db.compactionCommit("table-move", rec)
 		return
 	}