Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
644bba8e
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1187
Star
22018
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
644bba8e
编写于
12月 02, 2022
作者:
D
dapan1121
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: restore cache clear
上级
5e4db720
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
9 addition
and
7 deletion
+9
-7
source/client/src/clientStmt.c
source/client/src/clientStmt.c
+1
-1
tests/script/api/batchprepare.c
tests/script/api/batchprepare.c
+8
-6
未找到文件。
source/client/src/clientStmt.c
浏览文件 @
644bba8e
...
...
@@ -764,7 +764,7 @@ int stmtAddBatch(TAOS_STMT* stmt) {
STMT_ERR_RET
(
stmtSwitchStatus
(
pStmt
,
STMT_ADD_BATCH
));
//
STMT_ERR_RET(stmtCacheBlock(pStmt));
STMT_ERR_RET
(
stmtCacheBlock
(
pStmt
));
return
TSDB_CODE_SUCCESS
;
}
...
...
tests/script/api/batchprepare.c
浏览文件 @
644bba8e
...
...
@@ -219,20 +219,20 @@ typedef struct {
int32_t
caseRunNum
;
// total run case num
}
CaseCtrl
;
#if
0
#if
1
CaseCtrl
gCaseCtrl
=
{
.
precision
=
TIME_PRECISION_MICRO
,
.
bindNullNum
=
0
,
.
printCreateTblSql
=
true
,
.
printQuerySql
=
true
,
.
printStmtSql
=
true
,
.printVerbose =
fals
e,
.printRes =
fals
e,
.
printVerbose
=
tru
e
,
.
printRes
=
tru
e
,
.
autoCreateTbl
=
false
,
.
numericParam
=
false
,
.
rowNum
=
0
,
.
bindColNum
=
0
,
.bindTagNum =
14
,
.
bindTagNum
=
0
,
.
bindRowNum
=
0
,
.
bindColTypeNum
=
0
,
.
bindColTypeList
=
NULL
,
...
...
@@ -244,7 +244,7 @@ CaseCtrl gCaseCtrl = {
.
funcIdxList
=
NULL
,
.
checkParamNum
=
false
,
.
runTimes
=
0
,
.caseIdx =
23
,
.
caseIdx
=
0
,
.
caseNum
=
1
,
.
caseRunIdx
=
-
1
,
.
caseRunNum
=
-
1
,
...
...
@@ -252,7 +252,7 @@ CaseCtrl gCaseCtrl = {
#endif
#if
1
#if
0
CaseCtrl gCaseCtrl = { // default
.precision = TIME_PRECISION_MILLI,
.bindNullNum = 0,
...
...
@@ -2749,6 +2749,7 @@ void runAll(TAOS *taos) {
printf
(
"%s Begin
\n
"
,
gCaseCtrl
.
caseCatalog
);
runCaseList
(
taos
);
#if 0
strcpy(gCaseCtrl.caseCatalog, "Micro DB precision Test");
printf("%s Begin\n", gCaseCtrl.caseCatalog);
gCaseCtrl.precision = TIME_PRECISION_MICRO;
...
...
@@ -2804,6 +2805,7 @@ void runAll(TAOS *taos) {
gCaseCtrl.bindColNum = 6;
runCaseList(taos);
gCaseCtrl.bindColNum = 0;
#endif
/*
strcpy(gCaseCtrl.caseCatalog, "Bind Col Type Test");
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录