Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
maurodelazeri committed Jan 6, 2023
1 parent 43dbea2 commit f071991
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions leveldb/db_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package leveldb

import (
"errors"
"fmt"
"sync"
"time"

Expand Down Expand Up @@ -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)
})
}
Expand Down

0 comments on commit f071991

Please sign in to comment.