1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-641 This commit introduces GTest Suite into CS.

Binary NULL magic now consists of a series of BINARYEMPTYROW-s + BINARYNULL
in the end.

ByteStream now has hexbyte alias.

Added ColumnCommand::getEmptyRowValue to support 16 byte EMPTY values.
This commit is contained in:
Roman Nozdrin
2020-02-19 18:50:48 +00:00
parent 31d597d87e
commit f73de30427
13 changed files with 283 additions and 87 deletions

38
cmake/FindGTest.cmake Normal file
View File

@ -0,0 +1,38 @@
find_path(GTEST_ROOT_DIR
NAMES include/gtest/gtest.h
)
find_library(GTEST_LIBRARY
NAMES gtest
HINTS ${GTEST_ROOT_DIR}/lib
)
find_library(GTESTMAIN_LIBRARY
NAMES gtest_main
HINTS ${GTEST_ROOT_DIR}/lib
)
find_library(PTHREAD_LIBRARY
NAMES pthread
HINTS ${GTEST_ROOT_DIR}/lib
)
find_path(GTEST_INCLUDE_DIR
NAMES gtest.h
HINTS ${GTEST_ROOT_DIR}/include
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GTest DEFAULT_MSG
GTEST_LIBRARY
GTESTMAIN_LIBRARY
PTHREAD_LIBRARY
GTEST_INCLUDE_DIR
)
mark_as_advanced(
GTEST_ROOT_DIR
GTEST_LIBRARIES
GTEST_INCLUDE_DIR
)