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 f071991 commit 464b544
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions leveldb/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,10 @@ func writeBatchesWithHeader(wr io.Writer, batches []*Batch, seq uint64) error {
return err
}
for _, batch := range batches {

s := fmt.Sprintf("writeBatchesWithHeader data %v dumbp %v\n", string(batch.data), string(batch.Dump()))
fmt.Println(s)

if _, err := wr.Write(batch.data); err != nil {
return err
}
Expand Down

0 comments on commit 464b544

Please sign in to comment.