Commit 7d580ad1 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-19936: MyRocks: compile fails on Windows

Don't compile table/mock_table.cc
(pushing this patch to 10.3 first to make sure it fixes the issue
will push to 10.2, too)
parent 1d45b3b0
......@@ -171,7 +171,10 @@ set(LIBS ${ROCKSDB_LIBS} ${THIRDPARTY_LIBS} ${SYSTEM_LIBS})
#add_subdirectory(${ROCKSDB_SOURCE_DIR}/tools)
# Main library source code
# Note : table/mock_table.cc must not be in the below list as it causes
# compile warnings-treated-as-errors on Windows, and it is only used in
# RocksDB's tests.
#
set(ROCKSDB_SOURCES
cache/clock_cache.cc
cache/lru_cache.cc
......@@ -298,7 +301,6 @@ set(ROCKSDB_SOURCES
table/iterator.cc
table/merging_iterator.cc
table/meta_blocks.cc
table/mock_table.cc
table/persistent_cache_helper.cc
table/plain/plain_table_builder.cc
table/plain/plain_table_factory.cc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment