Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
loser646
TDengine
提交
5825ffed
T
TDengine
项目概览
loser646
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
1
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,发现更多精彩内容 >>
提交
5825ffed
编写于
6月 10, 2020
作者:
S
Shuduo Sang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove tag_lit/change.py from regression as it's buggy.
上级
cb99510d
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
84 addition
and
84 deletion
+84
-84
tests/pytest/regressiontest.sh
tests/pytest/regressiontest.sh
+2
-2
tests/pytest/tag_lite/change.py
tests/pytest/tag_lite/change.py
+82
-82
未找到文件。
tests/pytest/regressiontest.sh
浏览文件 @
5825ffed
...
...
@@ -36,7 +36,7 @@ python3 ./test.py -f tag_lite/binary.py
python3 ./test.py
-f
tag_lite/bool_binary.py
python3 ./test.py
-f
tag_lite/bool_int.py
python3 ./test.py
-f
tag_lite/bool.py
python3 ./test.py
-f
tag_lite/change.py
#
python3 ./test.py -f tag_lite/change.py
python3 ./test.py
-f
tag_lite/column.py
# python3 ./test.py -f tag_lite/commit.py
python3 ./test.py
-f
tag_lite/create.py
...
...
@@ -127,7 +127,7 @@ python3 ./test.py -f user/user_create.py
python3 ./test.py
-f
user/pass_len.py
# table
#python3 ./test.py -f table/del_stable.py
#
python3 ./test.py -f table/del_stable.py
#query
python3 ./test.py
-f
query/filter.py
...
...
tests/pytest/tag_lite/change.py
浏览文件 @
5825ffed
...
...
@@ -50,18 +50,18 @@ class TDTestCase:
# TSIM: sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol1
# bool, tgcol2 int)
tdLog
.
info
(
"create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 bool, tgcol2 int)"
)
"create table
ta_ch_mt2
(ts timestamp, tbcol int) TAGS(tgcol1 bool, tgcol2 int)"
)
tdSql
.
execute
(
'create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 bool, tgcol2 int)'
)
'create table
ta_ch_mt2
(ts timestamp, tbcol int) TAGS(tgcol1 bool, tgcol2 int)'
)
# TSIM: sql create table $tb using $mt tags( 1, 2 )
tdLog
.
info
(
"create table tb2 using
$mt
tags( 1, 2 )"
)
tdSql
.
execute
(
'create table tb2 using
$mt
tags( 1, 2 )'
)
tdLog
.
info
(
"create table tb2 using
ta_ch_mt2
tags( 1, 2 )"
)
tdSql
.
execute
(
'create table tb2 using
ta_ch_mt2
tags( 1, 2 )'
)
# TSIM: sql insert into $tb values(now, 1)
tdLog
.
info
(
"insert into tb2 values(now, 1)"
)
tdSql
.
execute
(
"insert into tb2 values(now, 1)"
)
# TSIM: sql select * from $mt where tgcol1 = 1
tdLog
.
info
(
'select * from
$mt
where tgcol1 = 1'
)
tdSql
.
query
(
'select * from
$mt
where tgcol1 = 1'
)
tdLog
.
info
(
'select * from
ta_ch_mt2
where tgcol1 = 1'
)
tdSql
.
query
(
'select * from
ta_ch_mt2
where tgcol1 = 1'
)
# TSIM: if $rows != 1 then
tdLog
.
info
(
'tdSql.checkRow(1)'
)
tdSql
.
checkRows
(
1
)
...
...
@@ -107,18 +107,18 @@ class TDTestCase:
# TSIM: sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol1
# smallint, tgcol2 tinyint)
tdLog
.
info
(
"create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 smallint, tgcol2 tinyint)"
)
"create table
ta_ch_mt3
(ts timestamp, tbcol int) TAGS(tgcol1 smallint, tgcol2 tinyint)"
)
tdSql
.
execute
(
'create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 smallint, tgcol2 tinyint)'
)
'create table
ta_ch_mt3
(ts timestamp, tbcol int) TAGS(tgcol1 smallint, tgcol2 tinyint)'
)
# TSIM: sql create table $tb using $mt tags( 1, 2 )
tdLog
.
info
(
"create table tb3 using
$mt
tags( 1, 2 )"
)
tdSql
.
execute
(
'create table tb3 using
$mt
tags( 1, 2 )'
)
tdLog
.
info
(
"create table tb3 using
ta_ch_mt3
tags( 1, 2 )"
)
tdSql
.
execute
(
'create table tb3 using
ta_ch_mt3
tags( 1, 2 )'
)
# TSIM: sql insert into $tb values(now, 1)
tdLog
.
info
(
"insert into tb3 values(now, 1)"
)
tdSql
.
execute
(
"insert into tb3 values(now, 1)"
)
# TSIM: sql select * from $mt where tgcol1 = 1
tdLog
.
info
(
'select * from
$mt
where tgcol1 = 1'
)
tdSql
.
query
(
'select * from
$mt
where tgcol1 = 1'
)
tdLog
.
info
(
'select * from
ta_ch_mt3
where tgcol1 = 1'
)
tdSql
.
query
(
'select * from
ta_ch_mt3
where tgcol1 = 1'
)
# TSIM: if $rows != 1 then
tdLog
.
info
(
'tdSql.checkRow(1)'
)
tdSql
.
checkRows
(
1
)
...
...
@@ -151,18 +151,18 @@ class TDTestCase:
# TSIM: sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol1
# bigint, tgcol2 float)
tdLog
.
info
(
"create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 bigint, tgcol2 float)"
)
"create table
ta_ch_mt4
(ts timestamp, tbcol int) TAGS(tgcol1 bigint, tgcol2 float)"
)
tdSql
.
execute
(
'create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 bigint, tgcol2 float)'
)
'create table
ta_ch_mt4
(ts timestamp, tbcol int) TAGS(tgcol1 bigint, tgcol2 float)'
)
# TSIM: sql create table $tb using $mt tags( 1, 2 )
tdLog
.
info
(
"create table tb4 using
$mt
tags( 1, 2 )"
)
tdSql
.
execute
(
'create table tb4 using
$mt
tags( 1, 2 )'
)
tdLog
.
info
(
"create table tb4 using
ta_ch_mt4
tags( 1, 2 )"
)
tdSql
.
execute
(
'create table tb4 using
ta_ch_mt4
tags( 1, 2 )'
)
# TSIM: sql insert into $tb values(now, 1)
tdLog
.
info
(
"insert into tb4 values(now, 1)"
)
tdSql
.
execute
(
"insert into tb4 values(now, 1)"
)
# TSIM: sql select * from $mt where tgcol1 = 1
tdLog
.
info
(
'select * from
$mt
where tgcol1 = 1'
)
tdSql
.
query
(
'select * from
$mt
where tgcol1 = 1'
)
tdLog
.
info
(
'select * from
ta_ch_mt4
where tgcol1 = 1'
)
tdSql
.
query
(
'select * from
ta_ch_mt4
where tgcol1 = 1'
)
# TSIM: if $rows != 1 then
tdLog
.
info
(
'tdSql.checkRow(1)'
)
tdSql
.
checkRows
(
1
)
...
...
@@ -195,18 +195,18 @@ class TDTestCase:
# TSIM: sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol1
# double, tgcol2 binary(10))
tdLog
.
info
(
"create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 double, tgcol2 binary(10))"
)
"create table
ta_ch_mt5
(ts timestamp, tbcol int) TAGS(tgcol1 double, tgcol2 binary(10))"
)
tdSql
.
execute
(
'create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 double, tgcol2 binary(10))'
)
'create table
ta_ch_mt5
(ts timestamp, tbcol int) TAGS(tgcol1 double, tgcol2 binary(10))'
)
# TSIM: sql create table $tb using $mt tags( 1, '2' )
tdLog
.
info
(
"create table tb5 using
$mt
tags( 1, '2' )"
)
tdSql
.
execute
(
'create table tb5 using $mt tags( 1, '
2
' )'
)
tdLog
.
info
(
"create table tb5 using
ta_ch_mt5
tags( 1, '2' )"
)
tdSql
.
execute
(
"create table tb5 using ta_ch_mt5 tags( 1, '2' )"
)
# TSIM: sql insert into $tb values(now, 1)
tdLog
.
info
(
"insert into tb5 values(now, 1)"
)
tdSql
.
execute
(
"insert into tb5 values(now, 1)"
)
# TSIM: sql select * from $mt where tgcol2 = '2'
tdLog
.
info
(
'select * from $mt where tgcol2 = '
2
''
)
tdSql
.
query
(
'select * from $mt where tgcol2 = '
2
''
)
tdLog
.
info
(
"select * from ta_ch_mt5 where tgcol2 = '2'"
)
tdSql
.
query
(
"select * from ta_ch_mt5 where tgcol2 = '2'"
)
# TSIM: if $rows != 1 then
tdLog
.
info
(
'tdSql.checkRow(1)'
)
tdSql
.
checkRows
(
1
)
...
...
@@ -239,18 +239,18 @@ class TDTestCase:
# TSIM: sql create table $mt (ts timestamp, tbcol int) TAGS(tgcol1
# binary(10), tgcol2 int, tgcol3 smallint, tgcol4 binary(11), tgcol5
# double, tgcol6 binary(20))
tdLog
.
info
(
"create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 binary(10), tgcol2 int, tgcol3 smallint, tgcol4 binary(11), tgcol5 double, tgcol6 binary(20))"
)
tdLog
.
info
(
"create table
ta_ch_mt6
(ts timestamp, tbcol int) TAGS(tgcol1 binary(10), tgcol2 int, tgcol3 smallint, tgcol4 binary(11), tgcol5 double, tgcol6 binary(20))"
)
tdSql
.
execute
(
'create table
$mt
(ts timestamp, tbcol int) TAGS(tgcol1 binary(10), tgcol2 int, tgcol3 smallint, tgcol4 binary(11), tgcol5 double, tgcol6 binary(20))'
)
'create table
ta_ch_mt6
(ts timestamp, tbcol int) TAGS(tgcol1 binary(10), tgcol2 int, tgcol3 smallint, tgcol4 binary(11), tgcol5 double, tgcol6 binary(20))'
)
# TSIM: sql create table $tb using $mt tags( '1', 2, 3, '4', 5, '6' )
tdLog
.
info
(
"create table tb6 using
$mt
tags( '1', 2, 3, '4', 5, '6' )"
)
tdSql
.
execute
(
'create table tb6 using $mt tags( '
1
', 2, 3, '
4
', 5, '
6
' )'
)
tdLog
.
info
(
"create table tb6 using
ta_ch_mt6
tags( '1', 2, 3, '4', 5, '6' )"
)
tdSql
.
execute
(
"create table tb6 using ta_ch_mt6 tags( '1', 2, 3, '4', 5, '6' )"
)
# TSIM: sql insert into $tb values(now, 1)
tdLog
.
info
(
"insert into tb6 values(now, 1)"
)
tdSql
.
execute
(
"insert into tb6 values(now, 1)"
)
# TSIM: sql select * from $mt where tgcol1 = '1'
tdLog
.
info
(
'select * from $mt where tgcol1 = '
1
''
)
tdSql
.
query
(
'select * from $mt where tgcol1 = '
1
''
)
tdLog
.
info
(
"select * from ta_ch_mt6 where tgcol1 = '1'"
)
tdSql
.
query
(
"select * from ta_ch_mt6 where tgcol1 = '1'"
)
# TSIM: if $rows != 1 then
tdLog
.
info
(
'tdSql.checkRow(1)'
)
tdSql
.
checkRows
(
1
)
...
...
@@ -312,19 +312,19 @@ class TDTestCase:
# TSIM: $tb = $tbPrefix . $i
# TSIM:
# TSIM: sql select * from $mt where tgcol1 = 1 -x step24
tdLog
.
info
(
'select * from
$mt
where tgcol1 = 1 -x step24'
)
tdSql
.
error
(
'select * from
$mt
where tgcol1 = 14'
)
tdLog
.
info
(
'select * from
ta_ch_mt2
where tgcol1 = 1 -x step24'
)
tdSql
.
error
(
'select * from
ta_ch_mt2
where tgcol1 = 14'
)
# TSIM: return -1
# TSIM: step24:
# TSIM: sql select * from $mt where tgcol2 = 1 -x step25
tdLog
.
info
(
'select * from
$mt
where tgcol2 = 1 -x step25'
)
tdSql
.
error
(
'select * from
$mt
where tgcol2 = 15'
)
tdLog
.
info
(
'select * from
ta_ch_mt2
where tgcol2 = 1 -x step25'
)
tdSql
.
error
(
'select * from
ta_ch_mt2
where tgcol2 = 15'
)
# TSIM: return -1
# TSIM: step25:
# TSIM:
# TSIM: sql select * from $mt where tgcol3 = 1
tdLog
.
info
(
'select * from
$mt
where tgcol3 = 1'
)
tdSql
.
query
(
'select * from
$mt
where tgcol3 = 1'
)
tdLog
.
info
(
'select * from
ta_ch_mt2
where tgcol3 = 1'
)
tdSql
.
query
(
'select * from
ta_ch_mt2
where tgcol3 = 1'
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -349,8 +349,8 @@ class TDTestCase:
# TSIM: endi
# TSIM:
# TSIM: sql select * from $mt where tgcol4 = 2
tdLog
.
info
(
'select * from
$mt
where tgcol4 = 2'
)
tdSql
.
query
(
'select * from
$mt
where tgcol4 = 2'
)
tdLog
.
info
(
'select * from
ta_ch_mt2
where tgcol4 = 2'
)
tdSql
.
query
(
'select * from
ta_ch_mt2
where tgcol4 = 2'
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -381,19 +381,19 @@ class TDTestCase:
# TSIM: $tb = $tbPrefix . $i
# TSIM:
# TSIM: sql select * from $mt where tgcol1 = 1 -x step31
tdLog
.
info
(
'select * from
$mt
where tgcol1 = 1 -x step31'
)
tdSql
.
error
(
'select * from
$mt
where tgcol1 = 11'
)
tdLog
.
info
(
'select * from
ta_ch_mt3
where tgcol1 = 1 -x step31'
)
tdSql
.
error
(
'select * from
ta_ch_mt3
where tgcol1 = 11'
)
# TSIM: return -1
# TSIM: step31:
# TSIM: sql select * from $mt where tgcol2 = 1 -x step32
tdLog
.
info
(
'select * from
$mt
where tgcol2 = 1 -x step32'
)
tdSql
.
error
(
'select * from
$mt
where tgcol2 = 12'
)
tdLog
.
info
(
'select * from
ta_ch_mt3
where tgcol2 = 1 -x step32'
)
tdSql
.
error
(
'select * from
ta_ch_mt3
where tgcol2 = 12'
)
# TSIM: return -1
# TSIM: step32:
# TSIM:
# TSIM: sql select * from $mt where tgcol3 = 1
tdLog
.
info
(
'select * from
$mt
where tgcol3 = 1'
)
tdSql
.
query
(
'select * from
$mt
where tgcol3 = 1'
)
tdLog
.
info
(
'select * from
ta_ch_mt3
where tgcol3 = 1'
)
tdSql
.
query
(
'select * from
ta_ch_mt3
where tgcol3 = 1'
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -450,19 +450,19 @@ class TDTestCase:
# TSIM: $tb = $tbPrefix . $i
# TSIM:
# TSIM: sql select * from $mt where tgcol1 = 1 -x step41
tdLog
.
info
(
'select * from
$mt
where tgcol1 = 1 -x step41'
)
tdSql
.
error
(
'select * from
$mt
where tgcol1 = 11'
)
tdLog
.
info
(
'select * from
ta_ch_mt4
where tgcol1 = 1 -x step41'
)
tdSql
.
error
(
'select * from
ta_ch_mt4
where tgcol1 = 11'
)
# TSIM: return -1
# TSIM: step41:
# TSIM: sql select * from $mt where tgcol2 = 1 -x step42
tdLog
.
info
(
'select * from
$mt
where tgcol2 = 1 -x step42'
)
tdSql
.
error
(
'select * from
$mt
where tgcol2 = 12'
)
tdLog
.
info
(
'select * from
ta_ch_mt4
where tgcol2 = 1 -x step42'
)
tdSql
.
error
(
'select * from
ta_ch_mt4
where tgcol2 = 12'
)
# TSIM: return -1
# TSIM: step42:
# TSIM:
# TSIM: sql select * from $mt where tgcol3 = 1
tdLog
.
info
(
'select * from
$mt
where tgcol3 = 1'
)
tdSql
.
query
(
'select * from
$mt
where tgcol3 = 1'
)
tdLog
.
info
(
'select * from
ta_ch_mt4
where tgcol3 = 1'
)
tdSql
.
query
(
'select * from
ta_ch_mt4
where tgcol3 = 1'
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -487,8 +487,8 @@ class TDTestCase:
# TSIM: endi
# TSIM:
# TSIM: sql select * from $mt where tgcol4 = 2
tdLog
.
info
(
'select * from
$mt
where tgcol4 = 2'
)
tdSql
.
query
(
'select * from
$mt
where tgcol4 = 2'
)
tdLog
.
info
(
'select * from
ta_ch_mt4
where tgcol4 = 2'
)
tdSql
.
query
(
'select * from
ta_ch_mt4
where tgcol4 = 2'
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -519,19 +519,19 @@ class TDTestCase:
# TSIM: $tb = $tbPrefix . $i
# TSIM:
# TSIM: sql select * from $mt where tgcol1 = 1 -x step51
tdLog
.
info
(
'select * from
$mt
where tgcol1 = 1 -x step51'
)
tdSql
.
error
(
'select * from
$mt
where tgcol1 = 11'
)
tdLog
.
info
(
'select * from
ta_ch_mt5
where tgcol1 = 1 -x step51'
)
tdSql
.
error
(
'select * from
ta_ch_mt5
where tgcol1 = 11'
)
# TSIM: return -1
# TSIM: step51:
# TSIM: sql select * from $mt where tgcol2 = 1 -x step52
tdLog
.
info
(
'select * from
$mt
where tgcol2 = 1 -x step52'
)
tdSql
.
error
(
'select * from
$mt
where tgcol2 = 12'
)
tdLog
.
info
(
'select * from
ta_ch_mt5
where tgcol2 = 1 -x step52'
)
tdSql
.
error
(
'select * from
ta_ch_mt5
where tgcol2 = 12'
)
# TSIM: return -1
# TSIM: step52:
# TSIM:
# TSIM: sql select * from $mt where tgcol3 = 1
tdLog
.
info
(
'select * from
$mt
where tgcol3 = 1'
)
tdSql
.
query
(
'select * from
$mt
where tgcol3 = 1'
)
tdLog
.
info
(
'select * from
ta_ch_mt5
where tgcol3 = 1'
)
tdSql
.
query
(
'select * from
ta_ch_mt5
where tgcol3 = 1'
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -556,8 +556,8 @@ class TDTestCase:
# TSIM: endi
# TSIM:
# TSIM: sql select * from $mt where tgcol4 = '2'
tdLog
.
info
(
'select * from $mt where tgcol4 = '
2
''
)
tdSql
.
query
(
'select * from $mt where tgcol4 = '
2
''
)
tdLog
.
info
(
"select * from ta_ch_mt5 where tgcol4 = '2'"
)
tdSql
.
query
(
"select * from ta_ch_mt5 where tgcol4 = '2'"
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -588,39 +588,39 @@ class TDTestCase:
# TSIM: $tb = $tbPrefix . $i
# TSIM:
# TSIM: sql select * from $mt where tgcol1 = 1 -x step61
tdLog
.
info
(
'select * from
$mt
where tgcol1 = 1 -x step61'
)
tdSql
.
error
(
'select * from
$mt
where tgcol1 = 11'
)
tdLog
.
info
(
'select * from
ta_ch_mt6
where tgcol1 = 1 -x step61'
)
tdSql
.
error
(
'select * from
ta_ch_mt6
where tgcol1 = 11'
)
# TSIM: return -1
# TSIM: step61:
# TSIM: sql select * from $mt where tgcol2 = 1 -x step62
tdLog
.
info
(
'select * from
$mt
where tgcol2 = 1 -x step62'
)
tdSql
.
error
(
'select * from
$mt
where tgcol2 = 12'
)
tdLog
.
info
(
'select * from
ta_ch_mt6
where tgcol2 = 1 -x step62'
)
tdSql
.
error
(
'select * from
ta_ch_mt6
where tgcol2 = 12'
)
# TSIM: return -1
# TSIM: step62:
# TSIM: sql select * from $mt where tgcol3 = 1 -x step63
tdLog
.
info
(
'select * from
$mt
where tgcol3 = 1 -x step63'
)
tdSql
.
error
(
'select * from
$mt
where tgcol3 = 13'
)
tdLog
.
info
(
'select * from
ta_ch_mt6
where tgcol3 = 1 -x step63'
)
tdSql
.
error
(
'select * from
ta_ch_mt6
where tgcol3 = 13'
)
# TSIM: return -1
# TSIM: step63:
# TSIM: sql select * from $mt where tgcol4 = 1 -x step64
tdLog
.
info
(
'select * from
$mt
where tgcol4 = 1 -x step64'
)
tdSql
.
error
(
'select * from
$mt
where tgcol4 = 14'
)
tdLog
.
info
(
'select * from
ta_ch_mt6
where tgcol4 = 1 -x step64'
)
tdSql
.
error
(
'select * from
ta_ch_mt6
where tgcol4 = 14'
)
# TSIM: return -1
# TSIM: step64:
# TSIM: sql select * from $mt where tgcol5 = 1 -x step65
tdLog
.
info
(
'select * from
$mt
where tgcol5 = 1 -x step65'
)
tdSql
.
error
(
'select * from
$mt
where tgcol5 = 15'
)
tdLog
.
info
(
'select * from
ta_ch_mt6
where tgcol5 = 1 -x step65'
)
tdSql
.
error
(
'select * from
ta_ch_mt6
where tgcol5 = 15'
)
# TSIM: return -1
# TSIM: step65:
# TSIM: sql select * from $mt where tgcol6 = 1 -x step66
tdLog
.
info
(
'select * from
$mt
where tgcol6 = 1 -x step66'
)
tdSql
.
error
(
'select * from
$mt
where tgcol6 = 16'
)
tdLog
.
info
(
'select * from
ta_ch_mt6
where tgcol6 = 1 -x step66'
)
tdSql
.
error
(
'select * from
ta_ch_mt6
where tgcol6 = 16'
)
# TSIM: return -1
# TSIM: step66:
# TSIM:
# TSIM: sql select * from $mt where tgcol7 = '1'
tdLog
.
info
(
'select * from $mt where tgcol7 = '
1
''
)
tdSql
.
query
(
'select * from $mt where tgcol7 = '
1
''
)
tdLog
.
info
(
"select * from ta_ch_mt6 where tgcol7 = '1'"
)
tdSql
.
query
(
"select * from ta_ch_mt6 where tgcol7 = '1'"
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -665,8 +665,8 @@ class TDTestCase:
# TSIM: endi
# TSIM:
# TSIM: sql select * from $mt where tgcol8 = 2
tdLog
.
info
(
'select * from
$mt
where tgcol8 = 2'
)
tdSql
.
query
(
'select * from
$mt
where tgcol8 = 2'
)
tdLog
.
info
(
'select * from
ta_ch_mt6
where tgcol8 = 2'
)
tdSql
.
query
(
'select * from
ta_ch_mt6
where tgcol8 = 2'
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -711,8 +711,8 @@ class TDTestCase:
# TSIM: endi
# TSIM:
# TSIM: sql select * from $mt where tgcol9 = '4'
tdLog
.
info
(
'select * from $mt where tgcol9 = '
4
''
)
tdSql
.
query
(
'select * from $mt where tgcol9 = '
4
''
)
tdLog
.
info
(
"select * from ta_ch_mt6 where tgcol9 = '4'"
)
tdSql
.
query
(
"select * from ta_ch_mt6 where tgcol9 = '4'"
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -757,8 +757,8 @@ class TDTestCase:
# TSIM: endi
# TSIM:
# TSIM: sql select * from $mt where tgcol10 = 5
tdLog
.
info
(
'select * from
$mt
where tgcol10 = 5'
)
tdSql
.
query
(
'select * from
$mt
where tgcol10 = 5'
)
tdLog
.
info
(
'select * from
ta_ch_mt6
where tgcol10 = 5'
)
tdSql
.
query
(
'select * from
ta_ch_mt6
where tgcol10 = 5'
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
@@ -803,8 +803,8 @@ class TDTestCase:
# TSIM: endi
# TSIM:
# TSIM: sql select * from $mt where tgcol11 = '6'
tdLog
.
info
(
'select * from $mt where tgcol11 = '
6
''
)
tdSql
.
query
(
'select * from $mt where tgcol11 = '
6
''
)
tdLog
.
info
(
"select * from ta_ch_mt6 where tgcol11 = '6'"
)
tdSql
.
query
(
"select * from ta_ch_mt6 where tgcol11 = '6'"
)
# TSIM: print $data01 $data02 $data03
tdLog
.
info
(
'$data01 $data02 $data03'
)
# TSIM: if $rows != 1 then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录