Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2dot5
ClickHouse
提交
ee72094d
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,发现更多精彩内容 >>
提交
ee72094d
编写于
9月 05, 2012
作者:
A
Alexey Milovidov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
███████████: development [#CONV-2944].
上级
2f5c3886
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
63 addition
and
1 deletion
+63
-1
dbms/include/DB/Core/Field.h
dbms/include/DB/Core/Field.h
+43
-1
dbms/include/DB/Core/NamesAndTypes.h
dbms/include/DB/Core/NamesAndTypes.h
+1
-0
dbms/include/DB/DataStreams/CollapsingSortedBlockInputStream.h
...include/DB/DataStreams/CollapsingSortedBlockInputStream.h
+2
-0
dbms/include/DB/DataStreams/MergeSortingBlockInputStream.h
dbms/include/DB/DataStreams/MergeSortingBlockInputStream.h
+2
-0
dbms/include/DB/DataStreams/MergingSortedBlockInputStream.h
dbms/include/DB/DataStreams/MergingSortedBlockInputStream.h
+2
-0
dbms/include/DB/DataTypes/DataTypeFactory.h
dbms/include/DB/DataTypes/DataTypeFactory.h
+2
-0
dbms/include/DB/Functions/FunctionsStringSearch.h
dbms/include/DB/Functions/FunctionsStringSearch.h
+2
-0
dbms/include/DB/Interpreters/Aggregator.h
dbms/include/DB/Interpreters/Aggregator.h
+2
-0
dbms/include/DB/Interpreters/Context.h
dbms/include/DB/Interpreters/Context.h
+2
-0
dbms/include/DB/Interpreters/Set.h
dbms/include/DB/Interpreters/Set.h
+2
-0
dbms/src/Storages/StorageFactory.cpp
dbms/src/Storages/StorageFactory.cpp
+3
-0
未找到文件。
dbms/include/DB/Core/Field.h
浏览文件 @
ee72094d
...
...
@@ -9,7 +9,9 @@
#include <Poco/NumberFormatter.h>
#include <mysqlxx/mysqlxx.h> /// mysqlxx::Date, mysqlxx::DateTime
#include <mysqlxx/Date.h>
#include <mysqlxx/DateTime.h>
#include <mysqlxx/Manip.h>
#include <DB/Core/Types.h>
#include <DB/Core/Exception.h>
...
...
@@ -216,3 +218,43 @@ template <> struct NearestFieldType<Array> { typedef Array Type; };
template
<
>
struct
NearestFieldType
<
bool
>
{
typedef
UInt64
Type
;
};
}
/// Заглушки, чтобы DBObject-ы с полем типа Array компилировались.
namespace
mysqlxx
{
inline
std
::
ostream
&
operator
<<
(
mysqlxx
::
EscapeManipResult
res
,
const
DB
::
Array
&
value
)
{
throw
Poco
::
Exception
(
"Cannot escape Array with mysqlxx::escape."
);
}
inline
std
::
ostream
&
operator
<<
(
mysqlxx
::
QuoteManipResult
res
,
const
DB
::
Array
&
value
)
{
throw
Poco
::
Exception
(
"Cannot quote Array with mysqlxx::quote."
);
}
inline
std
::
istream
&
operator
>>
(
mysqlxx
::
UnEscapeManipResult
res
,
DB
::
Array
&
value
)
{
throw
Poco
::
Exception
(
"Cannot unescape Array with mysqlxx::unescape."
);
}
inline
std
::
istream
&
operator
>>
(
mysqlxx
::
UnQuoteManipResult
res
,
DB
::
Array
&
value
)
{
throw
Poco
::
Exception
(
"Cannot unquote Array with mysqlxx::unquote."
);
}
}
namespace
DB
{
class
ReadBuffer
;
class
WriteBuffer
;
inline
void
readBinary
(
Array
&
x
,
ReadBuffer
&
buf
)
{
throw
Exception
(
"Cannot read Array."
,
ErrorCodes
::
NOT_IMPLEMENTED
);
}
inline
void
readText
(
Array
&
x
,
ReadBuffer
&
buf
)
{
throw
Exception
(
"Cannot read Array."
,
ErrorCodes
::
NOT_IMPLEMENTED
);
}
inline
void
readQuoted
(
Array
&
x
,
ReadBuffer
&
buf
)
{
throw
Exception
(
"Cannot read Array."
,
ErrorCodes
::
NOT_IMPLEMENTED
);
}
inline
void
writeBinary
(
const
Array
&
x
,
WriteBuffer
&
buf
)
{
throw
Exception
(
"Cannot write Array."
,
ErrorCodes
::
NOT_IMPLEMENTED
);
}
inline
void
writeText
(
const
Array
&
x
,
WriteBuffer
&
buf
)
{
throw
Exception
(
"Cannot write Array."
,
ErrorCodes
::
NOT_IMPLEMENTED
);
}
inline
void
writeQuoted
(
const
Array
&
x
,
WriteBuffer
&
buf
)
{
throw
Exception
(
"Cannot write Array."
,
ErrorCodes
::
NOT_IMPLEMENTED
);
}
}
dbms/include/DB/Core/NamesAndTypes.h
浏览文件 @
ee72094d
#pragma once
#include <map>
#include <list>
#include <string>
#include <Poco/SharedPtr.h>
...
...
dbms/include/DB/DataStreams/CollapsingSortedBlockInputStream.h
浏览文件 @
ee72094d
#pragma once
#include <Yandex/logger_useful.h>
#include <DB/Core/Row.h>
#include <DB/DataStreams/MergingSortedBlockInputStream.h>
...
...
dbms/include/DB/DataStreams/MergeSortingBlockInputStream.h
浏览文件 @
ee72094d
#pragma once
#include <Yandex/logger_useful.h>
#include <DB/Core/SortDescription.h>
#include <DB/DataStreams/IProfilingBlockInputStream.h>
...
...
dbms/include/DB/DataStreams/MergingSortedBlockInputStream.h
浏览文件 @
ee72094d
...
...
@@ -2,6 +2,8 @@
#include <queue>
#include <Yandex/logger_useful.h>
#include <DB/Core/SortDescription.h>
#include <DB/DataStreams/IProfilingBlockInputStream.h>
...
...
dbms/include/DB/DataTypes/DataTypeFactory.h
浏览文件 @
ee72094d
#pragma once
#include <map>
#include <Poco/RegularExpression.h>
#include <DB/DataTypes/IDataType.h>
...
...
dbms/include/DB/Functions/FunctionsStringSearch.h
浏览文件 @
ee72094d
#pragma once
#include <Poco/Mutex.h>
#include <statdaemons/OptimizedRegularExpression.h>
#include <DB/DataTypes/DataTypesNumberFixed.h>
...
...
dbms/include/DB/Interpreters/Aggregator.h
浏览文件 @
ee72094d
...
...
@@ -5,6 +5,8 @@
#include <Poco/Mutex.h>
#include <Yandex/logger_useful.h>
#include <DB/Core/ColumnNumbers.h>
#include <DB/Core/Names.h>
#include <DB/Core/StringRef.h>
...
...
dbms/include/DB/Interpreters/Context.h
浏览文件 @
ee72094d
...
...
@@ -6,6 +6,8 @@
#include <Poco/SharedPtr.h>
#include <Poco/Mutex.h>
#include <Yandex/logger_useful.h>
#include <DB/Core/NamesAndTypes.h>
#include <DB/DataStreams/FormatFactory.h>
#include <DB/Storages/IStorage.h>
...
...
dbms/include/DB/Interpreters/Set.h
浏览文件 @
ee72094d
...
...
@@ -4,6 +4,8 @@
#include <statdaemons/Stopwatch.h>
#include <Yandex/logger_useful.h>
#include <DB/Core/ColumnNumbers.h>
#include <DB/Core/StringPool.h>
...
...
dbms/src/Storages/StorageFactory.cpp
浏览文件 @
ee72094d
#include <Poco/Util/Application.h>
#include <Poco/Util/AbstractConfiguration.h>
#include <DB/Parsers/ASTCreateQuery.h>
#include <DB/Parsers/ASTIdentifier.h>
#include <DB/Parsers/ASTLiteral.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录