forked from TrueCloudLab/neoneo-go
ac5d2f94d3
It must copy both the value and the key because they can be reused for other purposes between Put() and PutBatch(). This actually happens with values in headers processing, leading to wrong data being written into the DB. Extend the batch test to check for that. |
||
---|---|---|
.. | ||
boltdb_store.go | ||
boltdb_store_test.go | ||
helpers.go | ||
leveldb_store.go | ||
leveldb_store_test.go | ||
memory_store.go | ||
memory_store_test.go | ||
redis_store.go | ||
redis_store_test.go | ||
store.go | ||
store_config.go | ||
store_test.go |