From 59465b58c235a9ed62b82102600c37eb1d50cae7 Mon Sep 17 00:00:00 2001 From: zhang2014 Date: Fri, 19 Jun 2020 19:59:16 +0800 Subject: [PATCH] ISSUES-4006 fix cmake --- src/Core/tests/CMakeLists.txt | 8 -------- src/DataTypes/DataTypeEnum.h | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/Core/tests/CMakeLists.txt b/src/Core/tests/CMakeLists.txt index b24326d94b1..d609e49f247 100644 --- a/src/Core/tests/CMakeLists.txt +++ b/src/Core/tests/CMakeLists.txt @@ -16,16 +16,8 @@ if (ENABLE_FUZZING) target_link_libraries (names_and_types_fuzzer PRIVATE dbms ${LIB_FUZZING_ENGINE}) endif () -add_executable (mysql_client mysql_client.cpp) -target_link_libraries (mysql_client PRIVATE dbms) - add_executable (mysql_protocol mysql_protocol.cpp) target_link_libraries (mysql_protocol PRIVATE dbms) if(USE_SSL) target_include_directories (mysql_protocol SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR}) endif() - -if (ENABLE_FUZZING) - add_executable (names_and_types_fuzzer names_and_types_fuzzer.cpp) - target_link_libraries (names_and_types_fuzzer PRIVATE dbms ${LIB_FUZZING_ENGINE}) -endif () diff --git a/src/DataTypes/DataTypeEnum.h b/src/DataTypes/DataTypeEnum.h index 4756a218778..80b41692cdd 100644 --- a/src/DataTypes/DataTypeEnum.h +++ b/src/DataTypes/DataTypeEnum.h @@ -43,8 +43,7 @@ public: using ColumnType = ColumnVector; using Value = std::pair; using Values = std::vector; - using NameToValueMap = HashMap; + using NameToValueMap = HashMap; using ValueToNameMap = std::unordered_map; static constexpr bool is_parametric = true;