Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
0f22cf1d
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0f22cf1d
编写于
4月 20, 2022
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor: rename shell.h
上级
32c24eed
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
12 addition
and
17 deletion
+12
-17
tools/shell/inc/shellCommand.h
tools/shell/inc/shellCommand.h
+1
-1
tools/shell/inc/shellInt.h
tools/shell/inc/shellInt.h
+4
-8
tools/shell/src/backup/shellCheck.c
tools/shell/src/backup/shellCheck.c
+1
-1
tools/shell/src/backup/shellDarwin.c
tools/shell/src/backup/shellDarwin.c
+1
-1
tools/shell/src/backup/shellImport.c
tools/shell/src/backup/shellImport.c
+1
-1
tools/shell/src/backup/shellWindows.c
tools/shell/src/backup/shellWindows.c
+1
-1
tools/shell/src/shellCommand.c
tools/shell/src/shellCommand.c
+1
-1
tools/shell/src/shellEngine.c
tools/shell/src/shellEngine.c
+1
-1
tools/shell/src/shellMain.c
tools/shell/src/shellMain.c
+1
-2
未找到文件。
tools/shell/inc/shellCommand.h
浏览文件 @
0f22cf1d
...
...
@@ -16,7 +16,7 @@
#ifndef _TD_SHELL_COMMAND_H_
#define _TD_SHELL_COMMAND_H_
#include "shell.h"
#include "shell
Int
.h"
#define LEFT 1
#define RIGHT 2
...
...
tools/shell/inc/shell.h
→
tools/shell/inc/shell
Int
.h
浏览文件 @
0f22cf1d
...
...
@@ -21,14 +21,10 @@
#include "taos.h"
#include "taosdef.h"
#define MAX_USERNAME_SIZE 64
#define MAX_DBNAME_SIZE 64
#define MAX_IP_SIZE 20
#define MAX_HISTORY_SIZE 1000
#define MAX_COMMAND_SIZE 1048586
#define HISTORY_FILE ".taos_history"
#define DEFAULT_RES_SHOW_NUM 100
#define MAX_HISTORY_SIZE 1000
#define MAX_COMMAND_SIZE 1048586
#define HISTORY_FILE ".taos_history"
#define DEFAULT_RES_SHOW_NUM 100
typedef
struct
SShellHistory
{
char
*
hist
[
MAX_HISTORY_SIZE
];
...
...
tools/shell/src/backup/shellCheck.c
浏览文件 @
0f22cf1d
...
...
@@ -18,7 +18,7 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "shell.h"
#include "shell
Int
.h"
#include "shellCommand.h"
#include "tglobal.h"
#include "tutil.h"
...
...
tools/shell/src/backup/shellDarwin.c
浏览文件 @
0f22cf1d
...
...
@@ -17,7 +17,7 @@
#include "os.h"
#include "shell.h"
#include "shell
Int
.h"
#include "shellCommand.h"
#include "tbase64.h"
...
...
tools/shell/src/backup/shellImport.c
浏览文件 @
0f22cf1d
...
...
@@ -18,7 +18,7 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "shell.h"
#include "shell
Int
.h"
#include "shellCommand.h"
#include "tglobal.h"
#include "tutil.h"
...
...
tools/shell/src/backup/shellWindows.c
浏览文件 @
0f22cf1d
...
...
@@ -14,7 +14,7 @@
#include <stdio.h>
#include "../../../../include/client/taos.h"
#include "os.h"
#include "shell.h"
#include "shell
Int
.h"
#include "shellCommand.h"
extern
char
configDir
[];
...
...
tools/shell/src/shellCommand.c
浏览文件 @
0f22cf1d
...
...
@@ -17,7 +17,7 @@
#include "shellCommand.h"
#include "os.h"
#include "shell.h"
#include "shell
Int
.h"
#include <regex.h>
...
...
tools/shell/src/shellEngine.c
浏览文件 @
0f22cf1d
...
...
@@ -19,7 +19,7 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "shell.h"
#include "shell
Int
.h"
#include "shellCommand.h"
#include "taosdef.h"
#include "taoserror.h"
...
...
tools/shell/src/shellMain.c
浏览文件 @
0f22cf1d
...
...
@@ -16,7 +16,6 @@
#define __USE_XOPEN
#include "shellCommand.h"
#include "tglobal.h"
#include "tlog.h"
#include <argp.h>
#include <termio.h>
...
...
@@ -407,7 +406,7 @@ void *shellLoopQuery(void *arg) {
char
*
command
=
taosMemoryMalloc
(
MAX_COMMAND_SIZE
);
if
(
command
==
NULL
)
{
uError
(
"failed to malloc command
"
);
printf
(
"failed to malloc command
\n
"
);
return
NULL
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录