ISSUES-4006 fix cmake

This commit is contained in:
zhang2014 2020-06-19 19:59:16 +08:00
parent 0336a4ad58
commit 59465b58c2
2 changed files with 1 additions and 10 deletions

View File

@ -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 ()

View File

@ -43,8 +43,7 @@ public:
using ColumnType = ColumnVector<FieldType>;
using Value = std::pair<std::string, FieldType>;
using Values = std::vector<Value>;
using NameToValueMap = HashMap<Strin
gRef, FieldType, StringRefHash>;
using NameToValueMap = HashMap<StringRef, FieldType, StringRefHash>;
using ValueToNameMap = std::unordered_map<FieldType, StringRef>;
static constexpr bool is_parametric = true;