Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2dot5
ClickHouse
提交
211ec436
C
ClickHouse
项目概览
2dot5
/
ClickHouse
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
ClickHouse
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
211ec436
编写于
2月 27, 2019
作者:
P
proller
提交者:
GitHub
2月 27, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Build fixes (#4516)
上级
d04e404e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
28 addition
and
27 deletion
+28
-27
cmake/find_gtest.cmake
cmake/find_gtest.cmake
+2
-1
dbms/src/Formats/ProtobufReader.h
dbms/src/Formats/ProtobufReader.h
+24
-24
dbms/src/Formats/ProtobufRowInputStream.cpp
dbms/src/Formats/ProtobufRowInputStream.cpp
+1
-1
libs/libcommon/src/tests/CMakeLists.txt
libs/libcommon/src/tests/CMakeLists.txt
+1
-1
未找到文件。
cmake/find_gtest.cmake
浏览文件 @
211ec436
...
...
@@ -19,6 +19,7 @@ endif()
if
(
NOT GTEST_SRC_DIR AND NOT GTEST_INCLUDE_DIRS AND NOT MISSING_INTERNAL_GTEST_LIBRARY
)
set
(
USE_INTERNAL_GTEST_LIBRARY 1
)
set
(
GTEST_MAIN_LIBRARIES gtest_main
)
set
(
GTEST_LIBRARIES gtest
)
set
(
GTEST_INCLUDE_DIRS
${
ClickHouse_SOURCE_DIR
}
/contrib/googletest/googletest
)
endif
()
...
...
@@ -26,4 +27,4 @@ if((GTEST_INCLUDE_DIRS AND GTEST_MAIN_LIBRARIES) OR GTEST_SRC_DIR)
set
(
USE_GTEST 1
)
endif
()
message
(
STATUS
"Using gtest=
${
USE_GTEST
}
:
${
GTEST_INCLUDE_DIRS
}
:
${
GTEST_MAIN_LIBRARIES
}
:
${
GTEST_SRC_DIR
}
"
)
message
(
STATUS
"Using gtest=
${
USE_GTEST
}
:
${
GTEST_INCLUDE_DIRS
}
:
${
GTEST_
LIBRARIES
}
,
${
GTEST_
MAIN_LIBRARIES
}
:
${
GTEST_SRC_DIR
}
"
)
dbms/src/Formats/ProtobufReader.h
浏览文件 @
211ec436
...
...
@@ -202,30 +202,30 @@ class ProtobufReader
public:
bool
startMessage
()
{
return
false
;
}
void
endMessage
()
{}
bool
readColumnIndex
(
size_t
&
column_index
)
{
return
false
;
}
bool
readNumber
(
Int8
&
value
)
{
return
false
;
}
bool
readNumber
(
UInt8
&
value
)
{
return
false
;
}
bool
readNumber
(
Int16
&
value
)
{
return
false
;
}
bool
readNumber
(
UInt16
&
value
)
{
return
false
;
}
bool
readNumber
(
Int32
&
value
)
{
return
false
;
}
bool
readNumber
(
UInt32
&
value
)
{
return
false
;
}
bool
readNumber
(
Int64
&
value
)
{
return
false
;
}
bool
readNumber
(
UInt64
&
value
)
{
return
false
;
}
bool
readNumber
(
UInt128
&
value
)
{
return
false
;
}
bool
readNumber
(
Float32
&
value
)
{
return
false
;
}
bool
readNumber
(
Float64
&
value
)
{
return
false
;
}
bool
readStringInto
(
PaddedPODArray
<
UInt8
>
&
str
)
{
return
false
;
}
void
prepareEnumMapping
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
Int8
>>
&
name_value_pairs
)
{}
void
prepareEnumMapping
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
Int16
>>
&
name_value_pairs
)
{}
bool
readEnum
(
Int8
&
value
)
{
return
false
;
}
bool
readEnum
(
Int16
&
value
)
{
return
false
;
}
bool
readUUID
(
UUID
&
uuid
)
{
return
false
;
}
bool
readDate
(
DayNum
&
date
)
{
return
false
;
}
bool
readDateTime
(
time_t
&
tm
)
{
return
false
;
}
bool
readDecimal
(
Decimal32
&
decimal
,
UInt32
precision
,
UInt32
scale
)
{
return
false
;
}
bool
readDecimal
(
Decimal64
&
decimal
,
UInt32
precision
,
UInt32
scale
)
{
return
false
;
}
bool
readDecimal
(
Decimal128
&
decimal
,
UInt32
precision
,
UInt32
scale
)
{
return
false
;
}
bool
readAggregateFunction
(
const
AggregateFunctionPtr
&
function
,
AggregateDataPtr
place
,
Arena
&
arena
)
{
return
false
;
}
bool
readColumnIndex
(
size_t
&
)
{
return
false
;
}
bool
readNumber
(
Int8
&
)
{
return
false
;
}
bool
readNumber
(
UInt8
&
)
{
return
false
;
}
bool
readNumber
(
Int16
&
)
{
return
false
;
}
bool
readNumber
(
UInt16
&
)
{
return
false
;
}
bool
readNumber
(
Int32
&
)
{
return
false
;
}
bool
readNumber
(
UInt32
&
)
{
return
false
;
}
bool
readNumber
(
Int64
&
)
{
return
false
;
}
bool
readNumber
(
UInt64
&
)
{
return
false
;
}
bool
readNumber
(
UInt128
&
)
{
return
false
;
}
bool
readNumber
(
Float32
&
)
{
return
false
;
}
bool
readNumber
(
Float64
&
)
{
return
false
;
}
bool
readStringInto
(
PaddedPODArray
<
UInt8
>
&
)
{
return
false
;
}
void
prepareEnumMapping
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
Int8
>>
&
)
{}
void
prepareEnumMapping
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
Int16
>>
&
)
{}
bool
readEnum
(
Int8
&
)
{
return
false
;
}
bool
readEnum
(
Int16
&
)
{
return
false
;
}
bool
readUUID
(
UUID
&
)
{
return
false
;
}
bool
readDate
(
DayNum
&
)
{
return
false
;
}
bool
readDateTime
(
time_t
&
)
{
return
false
;
}
bool
readDecimal
(
Decimal32
&
,
UInt32
,
UInt32
)
{
return
false
;
}
bool
readDecimal
(
Decimal64
&
,
UInt32
,
UInt32
)
{
return
false
;
}
bool
readDecimal
(
Decimal128
&
,
UInt32
,
UInt32
)
{
return
false
;
}
bool
readAggregateFunction
(
const
AggregateFunctionPtr
&
,
AggregateDataPtr
,
Arena
&
)
{
return
false
;
}
bool
maybeCanReadValue
()
const
{
return
false
;
}
};
...
...
dbms/src/Formats/ProtobufRowInputStream.cpp
浏览文件 @
211ec436
...
...
@@ -87,7 +87,7 @@ void registerInputFormatProtobuf(FormatFactory & factory)
namespace
DB
{
class
FormatFactory
;
void
registerInputFormatProtobuf
(
FormatFactory
&
factory
)
{}
void
registerInputFormatProtobuf
(
FormatFactory
&
)
{}
}
#endif
libs/libcommon/src/tests/CMakeLists.txt
浏览文件 @
211ec436
...
...
@@ -21,7 +21,7 @@ add_check(local_date_time_comparison)
if
(
USE_GTEST
)
add_executable
(
unit_tests_libcommon gtest_json_test.cpp gtest_strong_typedef.cpp gtest_find_symbols.cpp
)
target_link_libraries
(
unit_tests_libcommon common
${
GTEST_MAIN_LIBRARIES
}
)
target_link_libraries
(
unit_tests_libcommon common
${
GTEST_MAIN_LIBRARIES
}
${
GTEST_LIBRARIES
}
)
add_check
(
unit_tests_libcommon
)
endif
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录