097ef2a731
Related to #1468, ported from #1475. We should copy the key to avoid bytes substitution. Otherwise there's a chance that at the end of dao.Store.Seek(...) execution some keys won't be the same as the original keys found inside saveToMap function because storage.Seek can guarantee that provided key and value are only valid until the next `f` call. |
||
---|---|---|
.. | ||
badgerdb_store.go | ||
badgerdb_store_test.go | ||
boltdb_store.go | ||
boltdb_store_test.go | ||
leveldb_store.go | ||
leveldb_store_test.go | ||
memcached_store.go | ||
memcached_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 | ||
storeandbatch_test.go |