Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
cb1c3a17
T
TDengine
项目概览
慢慢CG
/
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看板
提交
cb1c3a17
编写于
2月 14, 2020
作者:
S
slguan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename tsdb.h
上级
649ef3d3
变更
46
隐藏空白更改
内联
并排
Showing
46 changed file
with
47 addition
and
45 deletion
+47
-45
src/client/inc/tscUtil.h
src/client/inc/tscUtil.h
+1
-1
src/client/inc/tsclient.h
src/client/inc/tsclient.h
+1
-1
src/client/src/tscAst.c
src/client/src/tscAst.c
+1
-1
src/client/src/tscSystem.c
src/client/src/tscSystem.c
+1
-1
src/dnode/inc/dnodeVnodeMgmt.h
src/dnode/inc/dnodeVnodeMgmt.h
+1
-1
src/dnode/src/dnodeService.c
src/dnode/src/dnodeService.c
+0
-1
src/dnode/src/dnodeSystem.c
src/dnode/src/dnodeSystem.c
+1
-1
src/inc/mnode.h
src/inc/mnode.h
+1
-1
src/inc/sdb.h
src/inc/sdb.h
+1
-1
src/inc/taosmsg.h
src/inc/taosmsg.h
+1
-1
src/kit/shell/inc/shell.h
src/kit/shell/inc/shell.h
+1
-1
src/kit/taosdump/taosdump.c
src/kit/taosdump/taosdump.c
+1
-1
src/mnode/src/mgmtSystem.c
src/mnode/src/mgmtSystem.c
+1
-1
src/modules/http/inc/httpHandle.h
src/modules/http/inc/httpHandle.h
+1
-1
src/modules/http/src/gcHandle.c
src/modules/http/src/gcHandle.c
+1
-1
src/modules/http/src/tgHandle.c
src/modules/http/src/tgHandle.c
+1
-1
src/modules/monitor/src/monitorSystem.c
src/modules/monitor/src/monitorSystem.c
+1
-1
src/os/darwin/src/tdarwin.c
src/os/darwin/src/tdarwin.c
+1
-1
src/os/linux/CMakeLists.txt
src/os/linux/CMakeLists.txt
+4
-0
src/os/linux/inc/os.h
src/os/linux/inc/os.h
+0
-1
src/os/linux/src/tlinux.c
src/os/linux/src/tlinux.c
+1
-1
src/os/windows/src/twindows.c
src/os/windows/src/twindows.c
+1
-1
src/rpc/inc/ttcpclient.h
src/rpc/inc/ttcpclient.h
+1
-1
src/rpc/inc/ttcpserver.h
src/rpc/inc/ttcpserver.h
+1
-1
src/rpc/inc/tudp.h
src/rpc/inc/tudp.h
+1
-1
src/rpc/src/trpc.c
src/rpc/src/trpc.c
+1
-1
src/sdb/src/hashint.c
src/sdb/src/hashint.c
+1
-1
src/sdb/src/hashstr.c
src/sdb/src/hashstr.c
+1
-1
src/util/inc/tglobalcfg.h
src/util/inc/tglobalcfg.h
+1
-1
src/util/inc/tscompression.h
src/util/inc/tscompression.h
+1
-1
src/util/inc/tutil.h
src/util/inc/tutil.h
+1
-1
src/util/src/tcompression.c
src/util/src/tcompression.c
+1
-1
src/util/src/tglobalcfg.c
src/util/src/tglobalcfg.c
+1
-1
src/util/src/thistogram.c
src/util/src/thistogram.c
+1
-1
src/util/src/tmd5.c
src/util/src/tmd5.c
+1
-1
src/util/src/tpercentile.c
src/util/src/tpercentile.c
+1
-1
src/util/src/tskiplist.c
src/util/src/tskiplist.c
+1
-1
src/util/src/ttime.c
src/util/src/ttime.c
+1
-1
src/util/src/ttypes.c
src/util/src/ttypes.c
+1
-1
src/vnode/common/inc/vnodePeer.h
src/vnode/common/inc/vnodePeer.h
+1
-1
src/vnode/detail/inc/vnode.h
src/vnode/detail/inc/vnode.h
+1
-1
src/vnode/detail/src/vnodeCommit.c
src/vnode/detail/src/vnodeCommit.c
+1
-1
src/vnode/detail/src/vnodeTagMgmt.c
src/vnode/detail/src/vnodeTagMgmt.c
+1
-1
src/vnode/tsdb/inc/tsdbMeta.h
src/vnode/tsdb/inc/tsdbMeta.h
+1
-1
src/vnode/tsdb/src/tsdb.c
src/vnode/tsdb/src/tsdb.c
+1
-1
src/vnode/tsdb/src/tsdbMeta.c
src/vnode/tsdb/src/tsdbMeta.c
+1
-1
未找到文件。
src/client/inc/tscUtil.h
浏览文件 @
cb1c3a17
...
...
@@ -27,7 +27,7 @@ extern "C" {
#include "textbuffer.h"
#include "tscSecondaryMerge.h"
#include "tsclient.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#define UTIL_METER_IS_SUPERTABLE(metaInfo) \
(((metaInfo)->pMeterMeta != NULL) && ((metaInfo)->pMeterMeta->tableType == TSDB_TABLE_TYPE_SUPER_TABLE))
...
...
src/client/inc/tsclient.h
浏览文件 @
cb1c3a17
...
...
@@ -27,7 +27,7 @@ extern "C" {
#include "tlog.h"
#include "tscCache.h"
#include "tscSQLParser.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tsqlfunction.h"
#include "tutil.h"
...
...
src/client/src/tscAst.c
浏览文件 @
cb1c3a17
...
...
@@ -20,7 +20,7 @@
#include "tscSQLParser.h"
#include "tscSyntaxtreefunction.h"
#include "tschemautil.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tskiplist.h"
#include "tsqldef.h"
#include "tsqlfunction.h"
...
...
src/client/src/tscSystem.c
浏览文件 @
cb1c3a17
...
...
@@ -18,7 +18,7 @@
#include "tcache.h"
#include "tlog.h"
#include "trpc.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tsocket.h"
#include "tsystem.h"
#include "ttime.h"
...
...
src/dnode/inc/dnodeVnodeMgmt.h
浏览文件 @
cb1c3a17
...
...
@@ -22,7 +22,7 @@ extern "C" {
#include <stdint.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "taosmsg.h"
/*
...
...
src/dnode/src/dnodeService.c
浏览文件 @
cb1c3a17
...
...
@@ -16,7 +16,6 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "tglobalcfg.h"
#include "tsdb.h"
#include "vnode.h"
#include "dnodeSystem.h"
...
...
src/dnode/src/dnodeSystem.c
浏览文件 @
cb1c3a17
...
...
@@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tlog.h"
#include "ttimer.h"
#include "dnode.h"
...
...
src/inc/mnode.h
浏览文件 @
cb1c3a17
...
...
@@ -34,7 +34,7 @@ extern "C" {
#include "tlog.h"
#include "tmempool.h"
#include "trpc.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tskiplist.h"
#include "tsocket.h"
#include "ttime.h"
...
...
src/inc/sdb.h
浏览文件 @
cb1c3a17
...
...
@@ -21,7 +21,7 @@ extern "C" {
#endif
#include "taosmsg.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
extern
uint16_t
tsMgmtMgmtPort
;
extern
uint16_t
tsMgmtSyncPort
;
...
...
src/inc/taosmsg.h
浏览文件 @
cb1c3a17
...
...
@@ -23,7 +23,7 @@ extern "C" {
#include <stdint.h>
#include <stdbool.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "taoserror.h"
#include "taosdef.h"
...
...
src/kit/shell/inc/shell.h
浏览文件 @
cb1c3a17
...
...
@@ -19,7 +19,7 @@
#include "stdbool.h"
#include "taos.h"
#include "tlog.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "stdbool.h"
#define MAX_USERNAME_SIZE 64
...
...
src/kit/taosdump/taosdump.c
浏览文件 @
cb1c3a17
...
...
@@ -32,7 +32,7 @@
#include "taosmsg.h"
#include "tglobalcfg.h"
#include "tsclient.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tutil.h"
#define COMMAND_SIZE 65536
...
...
src/mnode/src/mgmtSystem.c
浏览文件 @
cb1c3a17
...
...
@@ -29,7 +29,7 @@
#include "mgmtTable.h"
#include "mgmtShell.h"
#include "dnodeModule.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
// global, not configurable
char
mgmtDirectory
[
128
];
...
...
src/modules/http/inc/httpHandle.h
浏览文件 @
cb1c3a17
...
...
@@ -20,7 +20,7 @@
#include "pthread.h"
#include "semaphore.h"
#include "tmempool.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tutil.h"
#include "zlib.h"
...
...
src/modules/http/src/gcHandle.c
浏览文件 @
cb1c3a17
...
...
@@ -16,7 +16,7 @@
#include "gcHandle.h"
#include "cJSON.h"
#include "gcJson.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
static
HttpDecodeMethod
gcDecodeMethod
=
{
"grafana"
,
gcProcessRequest
};
static
HttpEncodeMethod
gcHeartBeatMethod
=
{
NULL
,
gcSendHeartBeatResp
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
};
...
...
src/modules/http/src/tgHandle.c
浏览文件 @
cb1c3a17
...
...
@@ -17,7 +17,7 @@
#include "shash.h"
#include "taosmsg.h"
#include "tgJson.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
/*
* taos.telegraf.cfg formats like
...
...
src/modules/monitor/src/monitorSystem.c
浏览文件 @
cb1c3a17
...
...
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include "monitorSystem.h"
#include "tsclient.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tsystem.h"
#include "ttime.h"
#include "ttimer.h"
...
...
src/os/darwin/src/tdarwin.c
浏览文件 @
cb1c3a17
...
...
@@ -30,7 +30,7 @@
#include "tglobalcfg.h"
#include "tlog.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tutil.h"
char
configDir
[
TSDB_FILENAME_LEN
]
=
"/etc/taos"
;
...
...
src/os/linux/CMakeLists.txt
浏览文件 @
cb1c3a17
...
...
@@ -2,9 +2,13 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT
(
TDengine
)
IF
((
TD_LINUX_64
)
OR
(
TD_LINUX_32 AND TD_ARM
))
INCLUDE_DIRECTORIES
(
${
TD_OS_DIR
}
/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/util/inc
)
INCLUDE_DIRECTORIES
(
${
TD_ENTERPRISE_DIR
}
/src/inc
)
INCLUDE_DIRECTORIES
(
inc
)
AUX_SOURCE_DIRECTORY
(
src SRC
)
ADD_LIBRARY
(
os
${
SRC
}
)
TARGET_LINK_LIBRARIES
(
os m rt
)
ENDIF
()
src/os/linux/inc/os.h
浏览文件 @
cb1c3a17
...
...
@@ -77,7 +77,6 @@ extern "C" {
#include <wctype.h>
#include <inttypes.h>
#define taosCloseSocket(x) \
{ \
if (FD_VALID(x)) { \
...
...
src/os/linux/src/tlinux.c
浏览文件 @
cb1c3a17
...
...
@@ -30,7 +30,7 @@
#include "tglobalcfg.h"
#include "tlog.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tutil.h"
#include "ttimer.h"
...
...
src/os/windows/src/twindows.c
浏览文件 @
cb1c3a17
...
...
@@ -25,7 +25,7 @@
#include "os.h"
#include "tlog.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tglobalcfg.h"
#include <intrin.h>
...
...
src/rpc/inc/ttcpclient.h
浏览文件 @
cb1c3a17
...
...
@@ -16,7 +16,7 @@
#ifndef _taos_tcp_client_header_
#define _taos_tcp_client_header_
#include "t
sdb
.h"
#include "t
aosdef
.h"
void
*
taosInitTcpClient
(
char
*
ip
,
uint16_t
port
,
char
*
label
,
int
num
,
void
*
fp
,
void
*
shandle
);
void
taosCleanUpTcpClient
(
void
*
chandle
);
...
...
src/rpc/inc/ttcpserver.h
浏览文件 @
cb1c3a17
...
...
@@ -16,7 +16,7 @@
#ifndef _taos_tcp_server_header_
#define _taos_tcp_server_header_
#include "t
sdb
.h"
#include "t
aosdef
.h"
void
*
taosInitTcpServer
(
char
*
ip
,
uint16_t
port
,
char
*
label
,
int
numOfThreads
,
void
*
fp
,
void
*
shandle
);
void
taosCleanUpTcpServer
(
void
*
param
);
...
...
src/rpc/inc/tudp.h
浏览文件 @
cb1c3a17
...
...
@@ -16,7 +16,7 @@
#ifndef _taos_udp_header_
#define _taos_udp_header_
#include "t
sdb
.h"
#include "t
aosdef
.h"
void
*
taosInitUdpServer
(
char
*
ip
,
uint16_t
port
,
char
*
label
,
int
,
void
*
fp
,
void
*
shandle
);
void
*
taosInitUdpClient
(
char
*
ip
,
uint16_t
port
,
char
*
label
,
int
,
void
*
fp
,
void
*
shandle
);
...
...
src/rpc/src/trpc.c
浏览文件 @
cb1c3a17
...
...
@@ -21,7 +21,7 @@
#include "tmd5.h"
#include "tmempool.h"
#include "trpc.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tsocket.h"
#include "ttcpclient.h"
#include "ttcpserver.h"
...
...
src/sdb/src/hashint.c
浏览文件 @
cb1c3a17
...
...
@@ -22,7 +22,7 @@
#include <unistd.h>
#include "tmempool.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
typedef
struct
_long_hash_t
{
uint32_t
key
;
...
...
src/sdb/src/hashstr.c
浏览文件 @
cb1c3a17
...
...
@@ -14,7 +14,7 @@
*/
#include "os.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#define MAX_STR_LEN 40
...
...
src/util/inc/tglobalcfg.h
浏览文件 @
cb1c3a17
...
...
@@ -22,7 +22,7 @@ extern "C" {
#include <stdbool.h>
#include <stdint.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
extern
int
(
*
startMonitor
)();
extern
void
(
*
stopMonitor
)();
...
...
src/util/inc/tscompression.h
浏览文件 @
cb1c3a17
...
...
@@ -20,7 +20,7 @@
extern
"C"
{
#endif
#include "t
sdb
.h"
#include "t
aosdef
.h"
#define BITS_PER_BYTE 8
// Masks
...
...
src/util/inc/tutil.h
浏览文件 @
cb1c3a17
...
...
@@ -23,7 +23,7 @@ extern "C" {
#include "os.h"
#include "tmd5.h"
#include "tcrc32c.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#ifndef STDERR_FILENO
#define STDERR_FILENO (2)
...
...
src/util/src/tcompression.c
浏览文件 @
cb1c3a17
...
...
@@ -50,7 +50,7 @@
#include "os.h"
#include "lz4.h"
#include "tscompression.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "ttypes.h"
const
int
TEST_NUMBER
=
1
;
...
...
src/util/src/tglobalcfg.c
浏览文件 @
cb1c3a17
...
...
@@ -19,7 +19,7 @@
#include "tglobalcfg.h"
#include "tkey.h"
#include "tlog.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tsocket.h"
#include "tsystem.h"
#include "tutil.h"
...
...
src/util/src/thistogram.c
浏览文件 @
cb1c3a17
...
...
@@ -17,7 +17,7 @@
#include "taosmsg.h"
#include "thistogram.h"
#include "tlosertree.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
/**
*
...
...
src/util/src/tmd5.c
浏览文件 @
cb1c3a17
...
...
@@ -37,7 +37,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
/* forward declaration */
static
void
Transform
(
uint32_t
*
buf
,
uint32_t
*
in
);
...
...
src/util/src/tpercentile.c
浏览文件 @
cb1c3a17
...
...
@@ -16,7 +16,7 @@
#include "os.h"
#include "taosmsg.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tlog.h"
#include "ttypes.h"
#include "tpercentile.h"
...
...
src/util/src/tskiplist.c
浏览文件 @
cb1c3a17
...
...
@@ -15,7 +15,7 @@
#include "os.h"
#include "tlog.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tskiplist.h"
#include "tutil.h"
...
...
src/util/src/ttime.c
浏览文件 @
cb1c3a17
...
...
@@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "ttime.h"
#include "tutil.h"
...
...
src/util/src/ttypes.c
浏览文件 @
cb1c3a17
...
...
@@ -14,7 +14,7 @@
*/
#include "os.h"
#include "taos.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tsqldef.h"
#include "ttypes.h"
#include "tutil.h"
...
...
src/vnode/common/inc/vnodePeer.h
浏览文件 @
cb1c3a17
...
...
@@ -22,7 +22,7 @@ extern "C" {
#include <stdint.h>
#include <stdbool.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
/*
* Initialize the resources
...
...
src/vnode/detail/inc/vnode.h
浏览文件 @
cb1c3a17
...
...
@@ -28,7 +28,7 @@ extern "C" {
#include "tmempool.h"
#include "trpc.h"
#include "tsclient.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tsocket.h"
#include "ttime.h"
#include "ttimer.h"
...
...
src/vnode/detail/src/vnodeCommit.c
浏览文件 @
cb1c3a17
...
...
@@ -16,7 +16,7 @@
#define _GNU_SOURCE
/* See feature_test_macros(7) */
#include "os.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "vnode.h"
#include "vnodeUtil.h"
#include "vnodeStatus.h"
...
...
src/vnode/detail/src/vnodeTagMgmt.c
浏览文件 @
cb1c3a17
...
...
@@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tlog.h"
#include "tutil.h"
#include "taosmsg.h"
...
...
src/vnode/tsdb/inc/tsdbMeta.h
浏览文件 @
cb1c3a17
...
...
@@ -4,7 +4,7 @@
#include <pthread.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
// Initially, there are 4 tables
#define TSDB_INIT_NUMBER_OF_SUPER_TABLE 4
...
...
src/vnode/tsdb/src/tsdb.c
浏览文件 @
cb1c3a17
...
...
@@ -2,7 +2,7 @@
#include <stdint.h>
#include <stdlib.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
// #include "disk.h"
#include "tsdbCache.h"
#include "tsdbMeta.h"
...
...
src/vnode/tsdb/src/tsdbMeta.c
浏览文件 @
cb1c3a17
#include <stdlib.h>
#include "t
sdb
.h"
#include "t
aosdef
.h"
#include "tsdbMeta.h"
SMetaHandle
*
tsdbCreateMetaHandle
(
int32_t
numOfTables
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录