Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
XKZJ_WCL
TDengine
提交
3cf5b769
T
TDengine
项目概览
XKZJ_WCL
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3cf5b769
编写于
7月 20, 2020
作者:
H
Haojun Liao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[td-225] source files rename.
上级
55e3352d
变更
36
隐藏空白更改
内联
并排
Showing
36 changed file
with
65 addition
and
66 deletion
+65
-66
src/client/inc/tscLocalMerge.h
src/client/inc/tscLocalMerge.h
+2
-2
src/client/inc/tscUtil.h
src/client/inc/tscUtil.h
+3
-3
src/client/inc/tsclient.h
src/client/inc/tsclient.h
+2
-2
src/client/src/tscFunctionImpl.c
src/client/src/tscFunctionImpl.c
+7
-7
src/client/src/tscLocal.c
src/client/src/tscLocal.c
+5
-5
src/client/src/tscSQLParser.c
src/client/src/tscSQLParser.c
+1
-1
src/client/src/tscSql.c
src/client/src/tscSql.c
+1
-1
src/client/src/tscSubquery.c
src/client/src/tscSubquery.c
+2
-2
src/client/src/tscUtil.c
src/client/src/tscUtil.c
+3
-3
src/query/inc/qAst.h
src/query/inc/qAst.h
+0
-0
src/query/inc/qExecutor.h
src/query/inc/qExecutor.h
+3
-3
src/query/inc/qExtbuffer.h
src/query/inc/qExtbuffer.h
+1
-1
src/query/inc/qFill.h
src/query/inc/qFill.h
+1
-1
src/query/inc/qHistogram.h
src/query/inc/qHistogram.h
+0
-0
src/query/inc/qPercentile.h
src/query/inc/qPercentile.h
+1
-1
src/query/inc/qResultbuf.h
src/query/inc/qResultbuf.h
+2
-2
src/query/inc/qSyntaxtreefunction.h
src/query/inc/qSyntaxtreefunction.h
+0
-0
src/query/inc/qTsbuf.h
src/query/inc/qTsbuf.h
+0
-0
src/query/inc/qUtil.h
src/query/inc/qUtil.h
+0
-0
src/query/src/qAst.c
src/query/src/qAst.c
+4
-4
src/query/src/qExecutor.c
src/query/src/qExecutor.c
+6
-6
src/query/src/qExtbuffer.c
src/query/src/qExtbuffer.c
+3
-4
src/query/src/qFill.c
src/query/src/qFill.c
+2
-2
src/query/src/qFilterfunc.c
src/query/src/qFilterfunc.c
+1
-1
src/query/src/qHistogram.c
src/query/src/qHistogram.c
+1
-1
src/query/src/qParserImpl.c
src/query/src/qParserImpl.c
+0
-0
src/query/src/qPercentile.c
src/query/src/qPercentile.c
+3
-3
src/query/src/qResultbuf.c
src/query/src/qResultbuf.c
+2
-2
src/query/src/qSyntaxtreefunction.c
src/query/src/qSyntaxtreefunction.c
+1
-1
src/query/src/qTokenizer.c
src/query/src/qTokenizer.c
+0
-0
src/query/src/qTsbuf.c
src/query/src/qTsbuf.c
+2
-2
src/query/src/qUtil.c
src/query/src/qUtil.c
+2
-2
src/query/tests/astTest.cpp
src/query/tests/astTest.cpp
+1
-1
src/query/tests/histogramTest.cpp
src/query/tests/histogramTest.cpp
+1
-1
src/query/tests/resultBufferTest.cpp
src/query/tests/resultBufferTest.cpp
+1
-1
src/query/tests/tsBufTest.cpp
src/query/tests/tsBufTest.cpp
+1
-1
未找到文件。
src/client/inc/tscLocalMerge.h
浏览文件 @
3cf5b769
...
...
@@ -20,8 +20,8 @@
extern
"C"
{
#endif
#include "q
e
xtbuffer.h"
#include "q
f
ill.h"
#include "q
E
xtbuffer.h"
#include "q
F
ill.h"
#include "taosmsg.h"
#include "tlosertree.h"
#include "tsclient.h"
...
...
src/client/inc/tscUtil.h
浏览文件 @
3cf5b769
...
...
@@ -23,11 +23,11 @@ extern "C" {
/*
* @date 2018/09/30
*/
#include "os.h"
#include "tbuffer.h"
#include "exception.h"
#include "qextbuffer.h"
#include "os.h"
#include "qExtbuffer.h"
#include "taosdef.h"
#include "tbuffer.h"
#include "tscLocalMerge.h"
#include "tsclient.h"
...
...
src/client/inc/tsclient.h
浏览文件 @
3cf5b769
...
...
@@ -30,9 +30,9 @@ extern "C" {
#include "tsqlfunction.h"
#include "tutil.h"
#include "qexecutor.h"
#include "qExecutor.h"
#include "qTsbuf.h"
#include "qsqlparser.h"
#include "qtsbuf.h"
#include "tcmdtype.h"
// forward declaration
...
...
src/client/src/tscFunctionImpl.c
浏览文件 @
3cf5b769
...
...
@@ -14,15 +14,15 @@
*/
#include "os.h"
#include "qextbuffer.h"
#include "qfill.h"
#include "qhistogram.h"
#include "qpercentile.h"
#include "qsyntaxtreefunction.h"
#include "qtsbuf.h"
#include "qAst.h"
#include "qExtbuffer.h"
#include "qFill.h"
#include "qHistogram.h"
#include "qPercentile.h"
#include "qSyntaxtreefunction.h"
#include "qTsbuf.h"
#include "taosdef.h"
#include "taosmsg.h"
#include "qast.h"
#include "tscLog.h"
#include "tscSubquery.h"
#include "tscompression.h"
...
...
src/client/src/tscLocal.c
浏览文件 @
3cf5b769
...
...
@@ -16,14 +16,14 @@
#include "os.h"
#include "taosmsg.h"
#include "tcache.h"
#include "tscUtil.h"
#include "tsclient.h"
#include "qExtbuffer.h"
#include "taosdef.h"
#include "tcache.h"
#include "tname.h"
#include "tscLog.h"
#include "
qextbuffer
.h"
#include "
tscUtil
.h"
#include "tschemautil.h"
#include "t
name
.h"
#include "t
sclient
.h"
static
void
tscSetLocalQueryResult
(
SSqlObj
*
pSql
,
const
char
*
val
,
const
char
*
columnName
,
int16_t
type
,
size_t
valueLength
);
...
...
src/client/src/tscSQLParser.c
浏览文件 @
3cf5b769
...
...
@@ -18,9 +18,9 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "qAst.h"
#include "taos.h"
#include "taosmsg.h"
#include "qast.h"
#include "tcompare.h"
#include "tname.h"
#include "tscLog.h"
...
...
src/client/src/tscSql.c
浏览文件 @
3cf5b769
...
...
@@ -15,7 +15,7 @@
#include "hash.h"
#include "os.h"
#include "q
a
st.h"
#include "q
A
st.h"
#include "tcache.h"
#include "tnote.h"
#include "trpc.h"
...
...
src/client/src/tscSubquery.c
浏览文件 @
3cf5b769
...
...
@@ -14,8 +14,8 @@
*/
#include "os.h"
#include "q
tsbuf
.h"
#include "q
ast
.h"
#include "q
Ast
.h"
#include "q
Tsbuf
.h"
#include "tcompare.h"
#include "tscLog.h"
#include "tscSubquery.h"
...
...
src/client/src/tscUtil.c
浏览文件 @
3cf5b769
...
...
@@ -13,11 +13,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os.h"
#include "hash.h"
#include "tscUtil.h"
#include "hash.h"
#include "os.h"
#include "qAst.h"
#include "taosmsg.h"
#include "qast.h"
#include "tcache.h"
#include "tkey.h"
#include "tmd5.h"
...
...
src/query/inc/q
a
st.h
→
src/query/inc/q
A
st.h
浏览文件 @
3cf5b769
文件已移动
src/query/inc/q
e
xecutor.h
→
src/query/inc/q
E
xecutor.h
浏览文件 @
3cf5b769
...
...
@@ -18,10 +18,10 @@
#include "os.h"
#include "hash.h"
#include "qfill.h"
#include "qresultbuf.h"
#include "qFill.h"
#include "qResultbuf.h"
#include "qTsbuf.h"
#include "qsqlparser.h"
#include "qtsbuf.h"
#include "query.h"
#include "taosdef.h"
#include "tarray.h"
...
...
src/query/inc/q
e
xtbuffer.h
→
src/query/inc/q
E
xtbuffer.h
浏览文件 @
3cf5b769
...
...
@@ -28,7 +28,7 @@ extern "C" {
#include "tdataformat.h"
#include "talgo.h"
#define DEFAULT_PAGE_SIZE (1024L*
6
4) // 16k larger than the SHistoInfo
#define DEFAULT_PAGE_SIZE (1024L*4) // 16k larger than the SHistoInfo
#define MAX_TMPFILE_PATH_LENGTH PATH_MAX
#define INITIAL_ALLOCATION_BUFFER_SIZE 64
...
...
src/query/inc/q
f
ill.h
→
src/query/inc/q
F
ill.h
浏览文件 @
3cf5b769
...
...
@@ -21,8 +21,8 @@ extern "C" {
#endif
#include "os.h"
#include "qExtbuffer.h"
#include "taosdef.h"
#include "qextbuffer.h"
typedef
struct
{
STColumn
col
;
// column info
...
...
src/query/inc/q
h
istogram.h
→
src/query/inc/q
H
istogram.h
浏览文件 @
3cf5b769
文件已移动
src/query/inc/q
p
ercentile.h
→
src/query/inc/q
P
ercentile.h
浏览文件 @
3cf5b769
...
...
@@ -16,7 +16,7 @@
#ifndef TDENGINE_QPERCENTILE_H
#define TDENGINE_QPERCENTILE_H
#include "q
e
xtbuffer.h"
#include "q
E
xtbuffer.h"
typedef
struct
MinMaxEntry
{
union
{
...
...
src/query/inc/q
r
esultbuf.h
→
src/query/inc/q
R
esultbuf.h
浏览文件 @
3cf5b769
...
...
@@ -20,9 +20,9 @@
extern
"C"
{
#endif
#include "os.h"
#include "qextbuffer.h"
#include "hash.h"
#include "os.h"
#include "qExtbuffer.h"
typedef
struct
SArray
*
SIDList
;
...
...
src/query/inc/q
s
yntaxtreefunction.h
→
src/query/inc/q
S
yntaxtreefunction.h
浏览文件 @
3cf5b769
文件已移动
src/query/inc/q
t
sbuf.h
→
src/query/inc/q
T
sbuf.h
浏览文件 @
3cf5b769
文件已移动
src/query/inc/q
u
til.h
→
src/query/inc/q
U
til.h
浏览文件 @
3cf5b769
文件已移动
src/query/src/q
a
st.c
→
src/query/src/q
A
st.c
浏览文件 @
3cf5b769
...
...
@@ -16,17 +16,17 @@
#include "os.h"
#include "tname.h"
#include "qast.h"
#include "tsdb.h"
#include "exception.h"
#include "qAst.h"
#include "qSyntaxtreefunction.h"
#include "qsqlparser.h"
#include "qsyntaxtreefunction.h"
#include "taosdef.h"
#include "taosmsg.h"
#include "tarray.h"
#include "tbuffer.h"
#include "tcompare.h"
#include "tname.h"
#include "tsdb.h"
#include "tskiplist.h"
#include "tsqlfunction.h"
#include "tstoken.h"
...
...
src/query/src/q
e
xecutor.c
→
src/query/src/q
E
xecutor.c
浏览文件 @
3cf5b769
...
...
@@ -13,19 +13,19 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os.h"
#include "qFill.h"
#include "taosmsg.h"
#include "tcache.h"
#include "tglobal.h"
#include "qfill.h"
#include "taosmsg.h"
#include "exception.h"
#include "hash.h"
#include "qast.h"
#include "qexecutor.h"
#include "qresultbuf.h"
#include "qAst.h"
#include "qExecutor.h"
#include "qResultbuf.h"
#include "qUtil.h"
#include "query.h"
#include "queryLog.h"
#include "qutil.h"
#include "tlosertree.h"
#include "tscompression.h"
#include "ttime.h"
...
...
src/query/src/q
e
xtbuffer.c
→
src/query/src/q
E
xtbuffer.c
浏览文件 @
3cf5b769
...
...
@@ -12,16 +12,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "qExtbuffer.h"
#include "os.h"
#include "tulog.h"
#include "qextbuffer.h"
#include "queryLog.h"
#include "taos.h"
#include "taosdef.h"
#include "taosmsg.h"
#include "tsqlfunction.h"
#include "t
time
.h"
#include "t
ulog
.h"
#include "tutil.h"
#include "queryLog.h"
#define COLMODEL_GET_VAL(data, schema, allrow, rowId, colId) \
(data + (schema)->pFields[colId].offset * (allrow) + (rowId) * (schema)->pFields[colId].field.bytes)
...
...
src/query/src/q
f
ill.c
→
src/query/src/q
F
ill.c
浏览文件 @
3cf5b769
...
...
@@ -13,9 +13,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "qFill.h"
#include "os.h"
#include "qfill.h"
#include "qextbuffer.h"
#include "qExtbuffer.h"
#include "taosdef.h"
#include "taosmsg.h"
#include "tsqlfunction.h"
...
...
src/query/src/q
f
ilterfunc.c
→
src/query/src/q
F
ilterfunc.c
浏览文件 @
3cf5b769
...
...
@@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "q
e
xecutor.h"
#include "q
E
xecutor.h"
#include "taosmsg.h"
#include "tcompare.h"
#include "tsqlfunction.h"
...
...
src/query/src/q
h
istogram.c
→
src/query/src/q
H
istogram.c
浏览文件 @
3cf5b769
...
...
@@ -14,7 +14,7 @@
*/
#include "os.h"
#include "q
h
istogram.h"
#include "q
H
istogram.h"
#include "taosdef.h"
#include "taosmsg.h"
#include "tlosertree.h"
...
...
src/query/src/q
p
arserImpl.c
→
src/query/src/q
P
arserImpl.c
浏览文件 @
3cf5b769
文件已移动
src/query/src/q
p
ercentile.c
→
src/query/src/q
P
ercentile.c
浏览文件 @
3cf5b769
...
...
@@ -13,12 +13,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "qPercentile.h"
#include "os.h"
#include "tulog.h"
#include "qpercentile.h"
#include "queryLog.h"
#include "taosdef.h"
#include "taosmsg.h"
#include "
queryL
og.h"
#include "
tul
og.h"
tExtMemBuffer
*
releaseBucketsExceptFor
(
tMemBucket
*
pMemBucket
,
int16_t
segIdx
,
int16_t
slotIdx
)
{
tExtMemBuffer
*
pBuffer
=
NULL
;
...
...
src/query/src/q
r
esultbuf.c
→
src/query/src/q
R
esultbuf.c
浏览文件 @
3cf5b769
#include "q
r
esultbuf.h"
#include "q
R
esultbuf.h"
#include "hash.h"
#include "q
e
xtbuffer.h"
#include "q
E
xtbuffer.h"
#include "queryLog.h"
#include "taoserror.h"
...
...
src/query/src/q
s
yntaxtreefunction.c
→
src/query/src/q
S
yntaxtreefunction.c
浏览文件 @
3cf5b769
...
...
@@ -15,7 +15,7 @@
#include "os.h"
#include "q
s
yntaxtreefunction.h"
#include "q
S
yntaxtreefunction.h"
#include "taosdef.h"
#include "tutil.h"
...
...
src/query/src/q
t
okenizer.c
→
src/query/src/q
T
okenizer.c
浏览文件 @
3cf5b769
文件已移动
src/query/src/q
t
sbuf.c
→
src/query/src/q
T
sbuf.c
浏览文件 @
3cf5b769
#include "qtsbuf.h"
#include "qTsbuf.h"
#include "taoserror.h"
#include "tscompression.h"
#include "tutil.h"
#include "taoserror.h"
static
int32_t
getDataStartOffset
();
static
void
TSBufUpdateVnodeInfo
(
STSBuf
*
pTSBuf
,
int32_t
index
,
STSVnodeBlockInfo
*
pBlockInfo
);
...
...
src/query/src/q
u
til.c
→
src/query/src/q
U
til.c
浏览文件 @
3cf5b769
...
...
@@ -19,8 +19,8 @@
#include "taosmsg.h"
#include "ttime.h"
#include "q
e
xecutor.h"
#include "q
u
til.h"
#include "q
E
xecutor.h"
#include "q
U
til.h"
int32_t
getOutputInterResultBufSize
(
SQuery
*
pQuery
)
{
int32_t
size
=
0
;
...
...
src/query/tests/astTest.cpp
浏览文件 @
3cf5b769
...
...
@@ -3,8 +3,8 @@
#include <cassert>
#include <iostream>
#include "qAst.h"
#include "taosmsg.h"
#include "qast.h"
#include "tsdb.h"
#include "tskiplist.h"
...
...
src/query/tests/histogramTest.cpp
浏览文件 @
3cf5b769
...
...
@@ -9,7 +9,7 @@
#include "tstoken.h"
#include "tutil.h"
#include "q
h
istogram.h"
#include "q
H
istogram.h"
/* test validate the names for table/database */
TEST
(
testCase
,
histogram_binary_search
)
{
...
...
src/query/tests/resultBufferTest.cpp
浏览文件 @
3cf5b769
...
...
@@ -2,7 +2,7 @@
#include <cassert>
#include <iostream>
#include "q
r
esultbuf.h"
#include "q
R
esultbuf.h"
#include "taos.h"
#include "tsdb.h"
...
...
src/query/tests/tsBufTest.cpp
浏览文件 @
3cf5b769
...
...
@@ -5,10 +5,10 @@
#include "taos.h"
#include "tsdb.h"
#include "qTsbuf.h"
#include "tstoken.h"
#include "ttime.h"
#include "tutil.h"
#include "qtsbuf.h"
namespace
{
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录