Fix SIGSEGV when declaring Arena after ScopedArenaIterator
This commit is contained in:
parent
05b2e60ddd
commit
4b1786e959
@ -807,8 +807,8 @@ class DBTest {
|
||||
}
|
||||
|
||||
std::string AllEntriesFor(const Slice& user_key, int cf = 0) {
|
||||
ScopedArenaIterator iter;
|
||||
Arena arena;
|
||||
ScopedArenaIterator iter;
|
||||
if (cf == 0) {
|
||||
iter.set(dbfull()->TEST_NewInternalIterator(&arena));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user