Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
7aeacaf6
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看板
未验证
提交
7aeacaf6
编写于
11月 16, 2019
作者:
S
slguan
提交者:
GitHub
11月 16, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #733 from taosdata/feature/liaohj
Feature/liaohj
上级
a702f5ef
c302d338
变更
68
隐藏空白更改
内联
并排
Showing
68 changed file
with
60 addition
and
407 deletion
+60
-407
src/kit/shell/src/shellCommand.c
src/kit/shell/src/shellCommand.c
+0
-8
src/kit/shell/src/shellEngine.c
src/kit/shell/src/shellEngine.c
+0
-10
src/kit/shell/src/shellLinux.c
src/kit/shell/src/shellLinux.c
+1
-19
src/kit/shell/src/shellMain.c
src/kit/shell/src/shellMain.c
+0
-7
src/modules/http/src/httpServer.c
src/modules/http/src/httpServer.c
+1
-17
src/os/linux/inc/os.h
src/os/linux/inc/os.h
+8
-0
src/rpc/src/thaship.c
src/rpc/src/thaship.c
+0
-8
src/rpc/src/tmsghdr.c
src/rpc/src/tmsghdr.c
+1
-4
src/rpc/src/trpc.c
src/rpc/src/trpc.c
+1
-9
src/rpc/src/ttcpclient.c
src/rpc/src/ttcpclient.c
+0
-9
src/rpc/src/ttcpserver.c
src/rpc/src/ttcpserver.c
+0
-10
src/rpc/src/tudp.c
src/rpc/src/tudp.c
+0
-9
src/sdb/src/hashstr.c
src/sdb/src/hashstr.c
+1
-7
src/sdb/src/sdbEngine.c
src/sdb/src/sdbEngine.c
+1
-13
src/system/detail/inc/mgmt.h
src/system/detail/inc/mgmt.h
+1
-6
src/system/detail/inc/mgmtBalance.h
src/system/detail/inc/mgmtBalance.h
+1
-3
src/system/detail/inc/mgmtSystem.h
src/system/detail/inc/mgmtSystem.h
+0
-2
src/system/detail/inc/vnode.h
src/system/detail/inc/vnode.h
+1
-6
src/system/detail/inc/vnodePeer.h
src/system/detail/inc/vnodePeer.h
+1
-1
src/system/detail/inc/vnodeQueryImpl.h
src/system/detail/inc/vnodeQueryImpl.h
+1
-2
src/system/detail/inc/vnodeRead.h
src/system/detail/inc/vnodeRead.h
+1
-1
src/system/detail/inc/vnodeShell.h
src/system/detail/inc/vnodeShell.h
+1
-1
src/system/detail/inc/vnodeStore.h
src/system/detail/inc/vnodeStore.h
+0
-2
src/system/detail/inc/vnodeSystem.h
src/system/detail/inc/vnodeSystem.h
+0
-2
src/system/detail/src/dnodeMgmt.c
src/system/detail/src/dnodeMgmt.c
+2
-3
src/system/detail/src/dnodeService.c
src/system/detail/src/dnodeService.c
+2
-14
src/system/detail/src/dnodeSystem.c
src/system/detail/src/dnodeSystem.c
+1
-5
src/system/detail/src/mgmtAcct.c
src/system/detail/src/mgmtAcct.c
+1
-1
src/system/detail/src/mgmtConn.c
src/system/detail/src/mgmtConn.c
+3
-1
src/system/detail/src/mgmtDnode.c
src/system/detail/src/mgmtDnode.c
+1
-3
src/system/detail/src/mgmtDnodeInt.c
src/system/detail/src/mgmtDnodeInt.c
+1
-2
src/system/detail/src/mgmtMeter.c
src/system/detail/src/mgmtMeter.c
+1
-4
src/system/detail/src/mgmtProfile.c
src/system/detail/src/mgmtProfile.c
+2
-1
src/system/detail/src/mgmtShell.c
src/system/detail/src/mgmtShell.c
+1
-1
src/system/detail/src/mgmtSupertableQuery.c
src/system/detail/src/mgmtSupertableQuery.c
+1
-4
src/system/detail/src/mgmtSystem.c
src/system/detail/src/mgmtSystem.c
+1
-10
src/system/detail/src/mgmtUser.c
src/system/detail/src/mgmtUser.c
+1
-1
src/system/detail/src/mgmtUtil.c
src/system/detail/src/mgmtUtil.c
+1
-4
src/system/detail/src/mgmtVgroup.c
src/system/detail/src/mgmtVgroup.c
+1
-1
src/system/detail/src/vnodeCache.c
src/system/detail/src/vnodeCache.c
+1
-3
src/system/detail/src/vnodeCommit.c
src/system/detail/src/vnodeCommit.c
+1
-9
src/system/detail/src/vnodeFile.c
src/system/detail/src/vnodeFile.c
+1
-9
src/system/detail/src/vnodeFileUtil.c
src/system/detail/src/vnodeFileUtil.c
+1
-5
src/system/detail/src/vnodeFilterFunc.c
src/system/detail/src/vnodeFilterFunc.c
+1
-5
src/system/detail/src/vnodeImport.c
src/system/detail/src/vnodeImport.c
+1
-4
src/system/detail/src/vnodeMeter.c
src/system/detail/src/vnodeMeter.c
+1
-4
src/system/detail/src/vnodeQueryProcess.c
src/system/detail/src/vnodeQueryProcess.c
+1
-4
src/system/detail/src/vnodeRead.c
src/system/detail/src/vnodeRead.c
+1
-6
src/system/detail/src/vnodeShell.c
src/system/detail/src/vnodeShell.c
+2
-4
src/system/detail/src/vnodeStore.c
src/system/detail/src/vnodeStore.c
+1
-5
src/system/detail/src/vnodeSystem.c
src/system/detail/src/vnodeSystem.c
+1
-9
src/system/detail/src/vnodeTagMgmt.c
src/system/detail/src/vnodeTagMgmt.c
+1
-3
src/system/detail/src/vnodeUtil.c
src/system/detail/src/vnodeUtil.c
+1
-4
src/util/src/ihash.c
src/util/src/ihash.c
+0
-7
src/util/src/tcache.c
src/util/src/tcache.c
+1
-9
src/util/src/tcompression.c
src/util/src/tcompression.c
+0
-6
src/util/src/textbuffer.c
src/util/src/textbuffer.c
+0
-11
src/util/src/thash.c
src/util/src/thash.c
+0
-7
src/util/src/thistogram.c
src/util/src/thistogram.c
+1
-7
src/util/src/tidpool.c
src/util/src/tidpool.c
+1
-4
src/util/src/tlog.c
src/util/src/tlog.c
+0
-16
src/util/src/tmem.c
src/util/src/tmem.c
+1
-7
src/util/src/tmodule.c
src/util/src/tmodule.c
+0
-6
src/util/src/tsched.c
src/util/src/tsched.c
+0
-8
src/util/src/tsocket.c
src/util/src/tsocket.c
+0
-11
src/util/src/ttimer.c
src/util/src/ttimer.c
+0
-6
src/util/src/ttypes.c
src/util/src/ttypes.c
+0
-9
src/util/src/tutil.c
src/util/src/tutil.c
+0
-8
未找到文件。
src/kit/shell/src/shellCommand.c
浏览文件 @
7aeacaf6
...
...
@@ -13,16 +13,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define __USE_XOPEN
#include <wchar.h>
#include "os.h"
#include "shell.h"
#include "shellCommand.h"
...
...
src/kit/shell/src/shellEngine.c
浏览文件 @
7aeacaf6
...
...
@@ -16,16 +16,6 @@
#define _XOPEN_SOURCE
#define _DEFAULT_SOURCE
#include <assert.h>
#include <pthread.h>
#include <regex.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <time.h>
#include "os.h"
#include "shell.h"
#include "shellCommand.h"
...
...
src/kit/shell/src/shellLinux.c
浏览文件 @
7aeacaf6
...
...
@@ -13,27 +13,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <argp.h>
#include <assert.h>
#include <assert.h>
#include <error.h>
#include <pwd.h>
#include <regex.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/types.h>
#include <termios.h>
#include <time.h>
#include <unistd.h>
#include <wordexp.h>
#define __USE_XOPEN
#include
<wchar.h>
#include
"os.h"
#include "shell.h"
#include "shellCommand.h"
...
...
src/kit/shell/src/shellMain.c
浏览文件 @
7aeacaf6
...
...
@@ -13,13 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <locale.h>
#include <pthread.h>
#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include "os.h"
#include "shell.h"
#include "tsclient.h"
...
...
src/modules/http/src/httpServer.c
浏览文件 @
7aeacaf6
...
...
@@ -13,23 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
#include <netinet/in.h>
#include <pthread.h>
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/epoll.h>
#include <sys/socket.h>
#include <syslog.h>
#include <unistd.h>
#include "os.h"
#include "taosmsg.h"
#include "tlog.h"
...
...
src/os/linux/inc/os.h
浏览文件 @
7aeacaf6
...
...
@@ -23,6 +23,7 @@ extern "C" {
#include <stdio.h>
#include <stdlib.h>
#include <argp.h>
#include <arpa/inet.h>
#include <assert.h>
#include <ctype.h>
...
...
@@ -31,6 +32,7 @@ extern "C" {
#include <errno.h>
#include <float.h>
#include <ifaddrs.h>
#include <libgen.h>
#include <limits.h>
#include <locale.h>
#include <math.h>
...
...
@@ -41,9 +43,12 @@ extern "C" {
#include <netinet/udp.h>
#include <pthread.h>
#include <pwd.h>
#include <regex.h>
#include <semaphore.h>
#include <signal.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <strings.h>
...
...
@@ -55,7 +60,9 @@ extern "C" {
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/statvfs.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/un.h>
#include <syslog.h>
...
...
@@ -65,6 +72,7 @@ extern "C" {
#include <wordexp.h>
#include <wctype.h>
#define taosCloseSocket(x) \
{ \
if (VALIDFD(x)) { \
...
...
src/rpc/src/thaship.c
浏览文件 @
7aeacaf6
...
...
@@ -13,14 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include "os.h"
#include "tlog.h"
#include "tmempool.h"
...
...
src/rpc/src/tmsghdr.c
浏览文件 @
7aeacaf6
...
...
@@ -13,10 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <netinet/in.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include "os.h"
void
taosFreeMsgHdr
(
void
*
hdr
)
{
struct
msghdr
*
msgHdr
=
(
struct
msghdr
*
)
hdr
;
...
...
src/rpc/src/trpc.c
浏览文件 @
7aeacaf6
...
...
@@ -13,16 +13,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <errno.h>
#include <pthread.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "os.h"
#include "shash.h"
#include "taosmsg.h"
#include "tidpool.h"
...
...
src/rpc/src/ttcpclient.c
浏览文件 @
7aeacaf6
...
...
@@ -13,15 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <semaphore.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "taosmsg.h"
#include "tlog.h"
...
...
src/rpc/src/ttcpserver.c
浏览文件 @
7aeacaf6
...
...
@@ -13,16 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <pthread.h>
#include <semaphore.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "taosmsg.h"
#include "tlog.h"
...
...
src/rpc/src/tudp.c
浏览文件 @
7aeacaf6
...
...
@@ -13,15 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "taosmsg.h"
#include "thash.h"
...
...
src/sdb/src/hashstr.c
浏览文件 @
7aeacaf6
...
...
@@ -13,13 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "os.h"
#include "tsdb.h"
#define MAX_STR_LEN 40
...
...
src/sdb/src/sdbEngine.c
浏览文件 @
7aeacaf6
...
...
@@ -13,19 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "os.h"
#include "sdb.h"
#include "sdbint.h"
...
...
src/system/detail/inc/mgmt.h
浏览文件 @
7aeacaf6
...
...
@@ -20,11 +20,7 @@
extern
"C"
{
#endif
#include <errno.h>
#include <pthread.h>
#include <semaphore.h>
#include <syslog.h>
#include <stdint.h>
#include "os.h"
#include "sdb.h"
#include "tglobalcfg.h"
...
...
@@ -34,7 +30,6 @@ extern "C" {
#include "tmempool.h"
#include "trpc.h"
#include "tsdb.h"
#include "tsdb.h"
#include "tskiplist.h"
#include "tsocket.h"
#include "ttime.h"
...
...
src/system/detail/inc/mgmtBalance.h
浏览文件 @
7aeacaf6
...
...
@@ -20,9 +20,7 @@
extern
"C"
{
#endif
#include <pthread.h>
#include <semaphore.h>
#include <stdbool.h>
#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
...
...
src/system/detail/inc/mgmtSystem.h
浏览文件 @
7aeacaf6
...
...
@@ -20,8 +20,6 @@
extern
"C"
{
#endif
#include <stdint.h>
int
mgmtInitRedirect
();
void
mgmtCleanUpRedirect
();
...
...
src/system/detail/inc/vnode.h
浏览文件 @
7aeacaf6
...
...
@@ -20,11 +20,7 @@
extern
"C"
{
#endif
#include <errno.h>
#include <pthread.h>
#include <semaphore.h>
#include <stdint.h>
#include <syslog.h>
#include "os.h"
#include "tglobalcfg.h"
#include "tidpool.h"
...
...
@@ -33,7 +29,6 @@ extern "C" {
#include "trpc.h"
#include "tsclient.h"
#include "tsdb.h"
#include "tsdb.h"
#include "tsocket.h"
#include "ttime.h"
#include "ttimer.h"
...
...
src/system/detail/inc/vnodePeer.h
浏览文件 @
7aeacaf6
...
...
@@ -16,7 +16,7 @@
#ifndef TDENGINE_VNODEPEER_H
#define TDENGINE_VNODEPEER_H
#include
<stdint.h>
#include
"os.h"
#ifdef __cplusplus
extern
"C"
{
...
...
src/system/detail/inc/vnodeQueryImpl.h
浏览文件 @
7aeacaf6
...
...
@@ -20,8 +20,7 @@
extern
"C"
{
#endif
#include <stdio.h>
#include <stdlib.h>
#include "os.h"
#include "ihash.h"
...
...
src/system/detail/inc/vnodeRead.h
浏览文件 @
7aeacaf6
...
...
@@ -20,7 +20,7 @@
extern
"C"
{
#endif
#include
<stdint.h>
#include
"os.h"
#include "tinterpolation.h"
#include "vnodeTagMgmt.h"
...
...
src/system/detail/inc/vnodeShell.h
浏览文件 @
7aeacaf6
...
...
@@ -20,7 +20,7 @@
extern
"C"
{
#endif
#include
<stdint.h>
#include
"os.h"
typedef
struct
{
int
sid
;
...
...
src/system/detail/inc/vnodeStore.h
浏览文件 @
7aeacaf6
...
...
@@ -16,8 +16,6 @@
#ifndef TDENGINE_VNODESTORE_H
#define TDENGINE_VNODESTORE_H
#include <stdbool.h>
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
src/system/detail/inc/vnodeSystem.h
浏览文件 @
7aeacaf6
...
...
@@ -16,8 +16,6 @@
#ifndef TDENGINE_VNODESYSTEM_H
#define TDENGINE_VNODESYSTEM_H
#include <stdbool.h>
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
src/system/detail/src/dnodeMgmt.c
浏览文件 @
7aeacaf6
...
...
@@ -14,9 +14,8 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <assert.h>
#include <unistd.h>
#include "os.h"
#include "dnodeSystem.h"
#include "taosmsg.h"
...
...
src/system/detail/src/dnodeService.c
浏览文件 @
7aeacaf6
...
...
@@ -14,20 +14,8 @@
*/
#define _DEFAULT_SOURCE
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <syslog.h>
#include <unistd.h>
#include <unistd.h>
#include <wordexp.h>
#include "os.h"
#include "dnodeSystem.h"
#include "tglobalcfg.h"
...
...
src/system/detail/src/dnodeSystem.c
浏览文件 @
7aeacaf6
...
...
@@ -14,11 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include "os.h"
#include "mgmt.h"
#include "vnode.h"
...
...
src/system/detail/src/mgmtAcct.c
浏览文件 @
7aeacaf6
...
...
@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include
<arpa/inet.h>
#include
"os.h"
#include "mgmt.h"
#include "tschemautil.h"
...
...
src/system/detail/src/mgmtConn.c
浏览文件 @
7aeacaf6
...
...
@@ -14,8 +14,10 @@
*/
#define _DEFAULT_SOURCE
#include "os.h"
#include "mgmt.h"
#include <arpa/inet.h>
#include "taosmsg.h"
#include "tschemautil.h"
...
...
src/system/detail/src/mgmtDnode.c
浏览文件 @
7aeacaf6
...
...
@@ -15,9 +15,7 @@
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <endian.h>
#include <stdbool.h>
#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
...
...
src/system/detail/src/mgmtDnodeInt.c
浏览文件 @
7aeacaf6
...
...
@@ -14,8 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <endian.h>
#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
...
...
src/system/detail/src/mgmtMeter.c
浏览文件 @
7aeacaf6
...
...
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <assert.h>
#include <limits.h>
#include <stdint.h>
#include "os.h"
#include "mgmt.h"
#include "mgmtUtil.h"
...
...
src/system/detail/src/mgmtProfile.c
浏览文件 @
7aeacaf6
...
...
@@ -14,8 +14,9 @@
*/
#define _DEFAULT_SOURCE
#include "os.h"
#include "mgmt.h"
#include <arpa/inet.h>
#include "mgmtProfile.h"
#include "taosmsg.h"
#include "tschemautil.h"
...
...
src/system/detail/src/mgmtShell.c
浏览文件 @
7aeacaf6
...
...
@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include
<arpa/inet.h>
#include
"os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
...
...
src/system/detail/src/mgmtSupertableQuery.c
浏览文件 @
7aeacaf6
...
...
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <float.h>
#include <math.h>
#include <sys/time.h>
#include "os.h"
#include "mgmt.h"
#include "mgmtUtil.h"
...
...
src/system/detail/src/mgmtSystem.c
浏览文件 @
7aeacaf6
...
...
@@ -14,16 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <netinet/in.h>
#include <pwd.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <syslog.h>
#include <unistd.h>
#include "os.h"
#include "dnodeSystem.h"
#include "mgmt.h"
...
...
src/system/detail/src/mgmtUser.c
浏览文件 @
7aeacaf6
...
...
@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include
<arpa/inet.h>
#include
"os.h"
#include "mgmt.h"
#include "tschemautil.h"
...
...
src/system/detail/src/mgmtUtil.c
浏览文件 @
7aeacaf6
...
...
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <sys/time.h>
#include <math.h>
#include <float.h>
#include "os.h"
#include "mgmt.h"
#include "mgmtUtil.h"
...
...
src/system/detail/src/mgmtVgroup.c
浏览文件 @
7aeacaf6
...
...
@@ -14,7 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include
<arpa/inet.h>
#include
"os.h"
#include "mgmt.h"
#include "tschemautil.h"
...
...
src/system/detail/src/vnodeCache.c
浏览文件 @
7aeacaf6
...
...
@@ -14,9 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <sys/time.h>
#include <unistd.h>
#include "os.h"
#include "taosmsg.h"
#include "vnode.h"
...
...
src/system/detail/src/vnodeCommit.c
浏览文件 @
7aeacaf6
...
...
@@ -14,15 +14,7 @@
*/
#define _GNU_SOURCE
/* See feature_test_macros(7) */
#include <fcntl.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "os.h"
#include "tsdb.h"
#include "vnode.h"
...
...
src/system/detail/src/vnodeFile.c
浏览文件 @
7aeacaf6
...
...
@@ -14,15 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <assert.h>
#include <fcntl.h>
#include <libgen.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include "os.h"
#include "tscompression.h"
#include "tutil.h"
...
...
src/system/detail/src/vnodeFileUtil.c
浏览文件 @
7aeacaf6
...
...
@@ -14,11 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "os.h"
#include "vnode.h"
...
...
src/system/detail/src/vnodeFilterFunc.c
浏览文件 @
7aeacaf6
...
...
@@ -14,11 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <float.h>
#include <math.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "taosmsg.h"
#include "tsqlfunction.h"
...
...
src/system/detail/src/vnodeImport.c
浏览文件 @
7aeacaf6
...
...
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "os.h"
#include "trpc.h"
#include "ttimer.h"
...
...
src/system/detail/src/vnodeMeter.c
浏览文件 @
7aeacaf6
...
...
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <assert.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "os.h"
#include "trpc.h"
#include "tschemautil.h"
...
...
src/system/detail/src/vnodeQueryProcess.c
浏览文件 @
7aeacaf6
...
...
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "os.h"
#include "taosmsg.h"
#include "textbuffer.h"
...
...
src/system/detail/src/vnodeRead.c
浏览文件 @
7aeacaf6
...
...
@@ -14,12 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <assert.h>
#include <fcntl.h>
#include <limits.h>
#include <time.h>
#include <unistd.h>
#include "os.h"
#include "ihash.h"
#include "taosmsg.h"
...
...
src/system/detail/src/vnodeShell.c
浏览文件 @
7aeacaf6
...
...
@@ -14,10 +14,8 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <assert.h>
#include <endian.h>
#include <stdint.h>
#include "os.h"
#include "taosmsg.h"
#include "vnode.h"
#include "vnodeShell.h"
...
...
src/system/detail/src/vnodeStore.c
浏览文件 @
7aeacaf6
...
...
@@ -14,11 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <dirent.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "os.h"
#include "dnodeSystem.h"
#include "trpc.h"
...
...
src/system/detail/src/vnodeSystem.c
浏览文件 @
7aeacaf6
...
...
@@ -14,15 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <pthread.h>
#include <pwd.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <syslog.h>
#include <unistd.h>
#include "os.h"
#include "tsdb.h"
#include "tsocket.h"
...
...
src/system/detail/src/vnodeTagMgmt.c
浏览文件 @
7aeacaf6
...
...
@@ -14,9 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include "os.h"
#include "tsdb.h"
#include "tlog.h"
...
...
src/system/detail/src/vnodeUtil.c
浏览文件 @
7aeacaf6
...
...
@@ -14,10 +14,7 @@
*/
#define _DEFAULT_SOURCE
#include <arpa/inet.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include "os.h"
#include "tast.h"
#include "tscUtil.h"
...
...
src/util/src/ihash.c
浏览文件 @
7aeacaf6
...
...
@@ -13,13 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
typedef
struct
_str_node_t
{
...
...
src/util/src/tcache.c
浏览文件 @
7aeacaf6
...
...
@@ -13,15 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <pthread.h>
#include <string.h>
#include "os.h"
#include "tcache.h"
#include "tlog.h"
...
...
src/util/src/tcompression.c
浏览文件 @
7aeacaf6
...
...
@@ -46,12 +46,6 @@
* of the XORed value with informations. If not, record the first corresponding bytes.
*
*/
#include <assert.h>
#include <limits.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "lz4.h"
...
...
src/util/src/textbuffer.c
浏览文件 @
7aeacaf6
...
...
@@ -13,17 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <float.h>
#include <math.h>
#include <errno.h>
#include "os.h"
#include "taos.h"
#include "taosmsg.h"
...
...
src/util/src/thash.c
浏览文件 @
7aeacaf6
...
...
@@ -13,13 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "tmempool.h"
...
...
src/util/src/thistogram.c
浏览文件 @
7aeacaf6
...
...
@@ -13,13 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <float.h>
#include <math.h>
#include <memory.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "os.h"
#include "taosmsg.h"
#include "thistogram.h"
...
...
src/util/src/tidpool.c
浏览文件 @
7aeacaf6
...
...
@@ -13,10 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "tlog.h"
typedef
struct
{
...
...
src/util/src/tlog.c
浏览文件 @
7aeacaf6
...
...
@@ -13,22 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <semaphore.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/types.h>
#include <time.h>
#include "os.h"
#include "tlog.h"
#include "tutil.h"
...
...
src/util/src/tmem.c
浏览文件 @
7aeacaf6
...
...
@@ -13,13 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <errno.h>
#include "os.h"
#include "tlog.h"
extern
int32_t
taosGetTimestampSec
();
...
...
src/util/src/tmodule.c
浏览文件 @
7aeacaf6
...
...
@@ -13,12 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdio.h>
#include "os.h"
#include "tmodule.h"
#include "tutil.h"
...
...
src/util/src/tsched.c
浏览文件 @
7aeacaf6
...
...
@@ -13,14 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "tlog.h"
#include "tsched.h"
...
...
src/util/src/tsocket.c
浏览文件 @
7aeacaf6
...
...
@@ -13,17 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include <pthread.h>
#include <stdarg.h>
#include <sys/types.h>
#include "os.h"
#include "tglobalcfg.h"
#include "tlog.h"
...
...
src/util/src/ttimer.c
浏览文件 @
7aeacaf6
...
...
@@ -13,12 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <errno.h>
#include <pthread.h>
#include <sched.h>
#include <stdio.h>
#include <stdlib.h>
#include "os.h"
#include "tlog.h"
#include "tsched.h"
...
...
src/util/src/ttypes.c
浏览文件 @
7aeacaf6
...
...
@@ -13,15 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <errno.h>
#include <float.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "os.h"
#include "taos.h"
#include "tsdb.h"
...
...
src/util/src/tutil.c
浏览文件 @
7aeacaf6
...
...
@@ -13,14 +13,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <assert.h>
#include <locale.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <errno.h>
#include "os.h"
#ifdef USE_LIBICONV
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录