From 4cd9f58c044b999ca0ec82b157b58c4ccfaf9563 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Thu, 24 Apr 2014 14:56:37 -0400 Subject: [PATCH] Fix corruption test --- db/corruption_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/db/corruption_test.cc b/db/corruption_test.cc index 525084f91..4726e92b9 100644 --- a/db/corruption_test.cc +++ b/db/corruption_test.cc @@ -360,6 +360,7 @@ TEST(CorruptionTest, CompactionInputErrorParanoid) { options.max_mem_compaction_level = 0; Reopen(&options); + dbi = reinterpret_cast(db_); Build(10); dbi->TEST_FlushMemTable(); dbi->TEST_WaitForCompact();