From f071991b407867544215253ff152b5943ec98721 Mon Sep 17 00:00:00 2001 From: Mauro Delazeri Date: Fri, 6 Jan 2023 18:05:38 -0300 Subject: [PATCH] wip --- leveldb/db_transaction.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/leveldb/db_transaction.go b/leveldb/db_transaction.go index 2e6bbc9..137abd2 100644 --- a/leveldb/db_transaction.go +++ b/leveldb/db_transaction.go @@ -8,6 +8,7 @@ package leveldb import ( "errors" + "fmt" "sync" "time" @@ -176,6 +177,7 @@ func (tr *Transaction) Write(b *Batch, wo *opt.WriteOptions) error { } return b.replayInternal(func(i int, kt keyType, k, v []byte) error { + fmt.Println("Transaction PUT key", string(k), "val", string(v), "type", kt.String()) return tr.put(kt, k, v) }) }