mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-28 20:50:49 +00:00
ISSUES-4006 fix cmake
This commit is contained in:
parent
0336a4ad58
commit
59465b58c2
@ -16,16 +16,8 @@ if (ENABLE_FUZZING)
|
|||||||
target_link_libraries (names_and_types_fuzzer PRIVATE dbms ${LIB_FUZZING_ENGINE})
|
target_link_libraries (names_and_types_fuzzer PRIVATE dbms ${LIB_FUZZING_ENGINE})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_executable (mysql_client mysql_client.cpp)
|
|
||||||
target_link_libraries (mysql_client PRIVATE dbms)
|
|
||||||
|
|
||||||
add_executable (mysql_protocol mysql_protocol.cpp)
|
add_executable (mysql_protocol mysql_protocol.cpp)
|
||||||
target_link_libraries (mysql_protocol PRIVATE dbms)
|
target_link_libraries (mysql_protocol PRIVATE dbms)
|
||||||
if(USE_SSL)
|
if(USE_SSL)
|
||||||
target_include_directories (mysql_protocol SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
target_include_directories (mysql_protocol SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
||||||
endif()
|
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 ()
|
|
||||||
|
@ -43,8 +43,7 @@ public:
|
|||||||
using ColumnType = ColumnVector<FieldType>;
|
using ColumnType = ColumnVector<FieldType>;
|
||||||
using Value = std::pair<std::string, FieldType>;
|
using Value = std::pair<std::string, FieldType>;
|
||||||
using Values = std::vector<Value>;
|
using Values = std::vector<Value>;
|
||||||
using NameToValueMap = HashMap<Strin
|
using NameToValueMap = HashMap<StringRef, FieldType, StringRefHash>;
|
||||||
gRef, FieldType, StringRefHash>;
|
|
||||||
using ValueToNameMap = std::unordered_map<FieldType, StringRef>;
|
using ValueToNameMap = std::unordered_map<FieldType, StringRef>;
|
||||||
|
|
||||||
static constexpr bool is_parametric = true;
|
static constexpr bool is_parametric = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user