From 84f40c50e4872ea083912937f58a1472a66e246c Mon Sep 17 00:00:00 2001 From: guokuankuan Date: Mon, 21 Dec 2020 18:19:19 +0800 Subject: [PATCH] [bugfix] fix build without TerarkZipTable v1.3.4 Release --- tools/db_bench_tool.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 8ababed68..fd20c4f2a 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -3268,7 +3268,12 @@ class Benchmark { options.write_buffer_size, FLAGS_key_size + FLAGS_value_size)); break; case kPatriciaTrie: +#ifdef WITH_TERARK_ZIP options.memtable_factory.reset(NewPatriciaTrieRepFactory()); +#else + printf("TerarkZipTable was not enabled!"); + exit(1); +#endif break; #else default: -- GitLab