Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
c73422d8
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看板
提交
c73422d8
编写于
11月 17, 2020
作者:
H
Haojun Liao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TD-225] update script.
上级
e774e8b3
变更
68
隐藏空白更改
内联
并排
Showing
68 changed file
with
183 addition
and
172 deletion
+183
-172
tests/script/general/parser/alter.sim
tests/script/general/parser/alter.sim
+5
-4
tests/script/general/parser/alter1.sim
tests/script/general/parser/alter1.sim
+2
-2
tests/script/general/parser/alter_stable.sim
tests/script/general/parser/alter_stable.sim
+1
-1
tests/script/general/parser/auto_create_tb.sim
tests/script/general/parser/auto_create_tb.sim
+2
-2
tests/script/general/parser/auto_create_tb_drop_tb.sim
tests/script/general/parser/auto_create_tb_drop_tb.sim
+1
-1
tests/script/general/parser/binary_escapeCharacter.sim
tests/script/general/parser/binary_escapeCharacter.sim
+1
-1
tests/script/general/parser/col_arithmetic_operation.sim
tests/script/general/parser/col_arithmetic_operation.sim
+1
-1
tests/script/general/parser/columnValue.sim
tests/script/general/parser/columnValue.sim
+1
-1
tests/script/general/parser/columnValue_bigint.sim
tests/script/general/parser/columnValue_bigint.sim
+1
-1
tests/script/general/parser/columnValue_bool.sim
tests/script/general/parser/columnValue_bool.sim
+1
-1
tests/script/general/parser/columnValue_double.sim
tests/script/general/parser/columnValue_double.sim
+1
-1
tests/script/general/parser/columnValue_float.sim
tests/script/general/parser/columnValue_float.sim
+1
-1
tests/script/general/parser/columnValue_int.sim
tests/script/general/parser/columnValue_int.sim
+1
-1
tests/script/general/parser/columnValue_smallint.sim
tests/script/general/parser/columnValue_smallint.sim
+1
-1
tests/script/general/parser/columnValue_tinyint.sim
tests/script/general/parser/columnValue_tinyint.sim
+1
-1
tests/script/general/parser/commit.sim
tests/script/general/parser/commit.sim
+3
-3
tests/script/general/parser/create_db.sim
tests/script/general/parser/create_db.sim
+1
-1
tests/script/general/parser/create_mt.sim
tests/script/general/parser/create_mt.sim
+1
-1
tests/script/general/parser/create_tb.sim
tests/script/general/parser/create_tb.sim
+1
-1
tests/script/general/parser/fill.sim
tests/script/general/parser/fill.sim
+1
-1
tests/script/general/parser/fill_stb.sim
tests/script/general/parser/fill_stb.sim
+1
-1
tests/script/general/parser/fill_us.sim
tests/script/general/parser/fill_us.sim
+1
-1
tests/script/general/parser/first_last.sim
tests/script/general/parser/first_last.sim
+2
-2
tests/script/general/parser/first_last_query.sim
tests/script/general/parser/first_last_query.sim
+1
-1
tests/script/general/parser/import.sim
tests/script/general/parser/import.sim
+2
-2
tests/script/general/parser/import_commit1.sim
tests/script/general/parser/import_commit1.sim
+1
-1
tests/script/general/parser/import_commit2.sim
tests/script/general/parser/import_commit2.sim
+1
-1
tests/script/general/parser/import_commit3.sim
tests/script/general/parser/import_commit3.sim
+1
-1
tests/script/general/parser/insert_multiTbl.sim
tests/script/general/parser/insert_multiTbl.sim
+1
-1
tests/script/general/parser/insert_tb.sim
tests/script/general/parser/insert_tb.sim
+1
-1
tests/script/general/parser/interp.sim
tests/script/general/parser/interp.sim
+1
-1
tests/script/general/parser/interp_test.sim
tests/script/general/parser/interp_test.sim
+11
-1
tests/script/general/parser/lastrow.sim
tests/script/general/parser/lastrow.sim
+2
-2
tests/script/general/parser/lastrow_query.sim
tests/script/general/parser/lastrow_query.sim
+1
-1
tests/script/general/parser/limit.sim
tests/script/general/parser/limit.sim
+2
-2
tests/script/general/parser/limit1.sim
tests/script/general/parser/limit1.sim
+1
-1
tests/script/general/parser/limit1_stb.sim
tests/script/general/parser/limit1_stb.sim
+1
-1
tests/script/general/parser/limit1_tb.sim
tests/script/general/parser/limit1_tb.sim
+1
-1
tests/script/general/parser/limit1_tblocks100.sim
tests/script/general/parser/limit1_tblocks100.sim
+1
-1
tests/script/general/parser/limit2.sim
tests/script/general/parser/limit2.sim
+1
-1
tests/script/general/parser/limit2_query.sim
tests/script/general/parser/limit2_query.sim
+1
-1
tests/script/general/parser/limit2_tblocks100.sim
tests/script/general/parser/limit2_tblocks100.sim
+2
-2
tests/script/general/parser/limit_stb.sim
tests/script/general/parser/limit_stb.sim
+1
-1
tests/script/general/parser/limit_tb.sim
tests/script/general/parser/limit_tb.sim
+1
-1
tests/script/general/parser/mixed_blocks.sim
tests/script/general/parser/mixed_blocks.sim
+1
-1
tests/script/general/parser/nchar.sim
tests/script/general/parser/nchar.sim
+1
-1
tests/script/general/parser/null_char.sim
tests/script/general/parser/null_char.sim
+1
-1
tests/script/general/parser/projection_limit_offset.sim
tests/script/general/parser/projection_limit_offset.sim
+1
-1
tests/script/general/parser/selectResNum.sim
tests/script/general/parser/selectResNum.sim
+3
-3
tests/script/general/parser/select_across_vnodes.sim
tests/script/general/parser/select_across_vnodes.sim
+1
-1
tests/script/general/parser/select_from_cache_disk.sim
tests/script/general/parser/select_from_cache_disk.sim
+2
-2
tests/script/general/parser/set_tag_vals.sim
tests/script/general/parser/set_tag_vals.sim
+1
-1
tests/script/general/parser/single_row_in_tb.sim
tests/script/general/parser/single_row_in_tb.sim
+1
-1
tests/script/general/parser/single_row_in_tb_query.sim
tests/script/general/parser/single_row_in_tb_query.sim
+1
-1
tests/script/general/parser/slimit.sim
tests/script/general/parser/slimit.sim
+2
-2
tests/script/general/parser/slimit1.sim
tests/script/general/parser/slimit1.sim
+2
-2
tests/script/general/parser/slimit1_query.sim
tests/script/general/parser/slimit1_query.sim
+1
-1
tests/script/general/parser/slimit_alter_tags.sim
tests/script/general/parser/slimit_alter_tags.sim
+2
-2
tests/script/general/parser/slimit_query.sim
tests/script/general/parser/slimit_query.sim
+1
-1
tests/script/general/parser/stream_on_sys.sim
tests/script/general/parser/stream_on_sys.sim
+1
-1
tests/script/general/parser/tags_dynamically_specifiy.sim
tests/script/general/parser/tags_dynamically_specifiy.sim
+2
-2
tests/script/general/parser/tags_filter.sim
tests/script/general/parser/tags_filter.sim
+1
-1
tests/script/general/parser/tbnameIn.sim
tests/script/general/parser/tbnameIn.sim
+1
-1
tests/script/general/parser/tbnameIn_query.sim
tests/script/general/parser/tbnameIn_query.sim
+1
-1
tests/script/general/parser/testSuite.sim
tests/script/general/parser/testSuite.sim
+84
-84
tests/script/general/parser/timestamp.sim
tests/script/general/parser/timestamp.sim
+3
-3
tests/script/general/parser/timestamp_query.sim
tests/script/general/parser/timestamp_query.sim
+1
-1
tests/script/general/parser/where.sim
tests/script/general/parser/where.sim
+1
-1
未找到文件。
tests/script/general/parser/alter.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = m_alt_db
$dbPrefix = m_alt_db
...
@@ -56,6 +56,7 @@ if $rows != 2 then
...
@@ -56,6 +56,7 @@ if $rows != 2 then
endi
endi
print data03 = $data03
print data03 = $data03
if $data03 != taos then
if $data03 != taos then
print expect taos, actual: $data03
return -1
return -1
endi
endi
sql drop table tb
sql drop table tb
...
@@ -113,7 +114,7 @@ endi
...
@@ -113,7 +114,7 @@ endi
sql drop table tb
sql drop table tb
sql drop table mt
sql drop table mt
sleep
3
000
sleep
1
000
### ALTER TABLE WHILE STREAMING [TBASE271]
### ALTER TABLE WHILE STREAMING [TBASE271]
#sql create table tb1 (ts timestamp, c1 int, c2 nchar(5), c3 int)
#sql create table tb1 (ts timestamp, c1 int, c2 nchar(5), c3 int)
#sql create table strm as select count(*), avg(c1), first(c2), sum(c3) from tb1 interval(2s)
#sql create table strm as select count(*), avg(c1), first(c2), sum(c3) from tb1 interval(2s)
...
@@ -146,7 +147,7 @@ sleep 3000
...
@@ -146,7 +147,7 @@ sleep 3000
#sql alter table tb1 add column c3 int
#sql alter table tb1 add column c3 int
#sleep 6000
#sleep 6000
#sql insert into tb1 values (now, 3, 'taos', 3);
#sql insert into tb1 values (now, 3, 'taos', 3);
#sleep
3
000
#sleep
1
000
#sql select * from strm
#sql select * from strm
#if $rows != 3 then
#if $rows != 3 then
# return -1
# return -1
...
@@ -185,7 +186,7 @@ sql create database $db
...
@@ -185,7 +186,7 @@ sql create database $db
sql use $db
sql use $db
sql create table mt (ts timestamp, c1 int, c2 nchar(7), c3 int) tags (t1 int)
sql create table mt (ts timestamp, c1 int, c2 nchar(7), c3 int) tags (t1 int)
sql create table tb using mt tags(1)
sql create table tb using mt tags(1)
sleep
3
000
sleep
1
000
sql insert into tb values ('2018-11-01 16:30:00.000', 1, 'insert', 1)
sql insert into tb values ('2018-11-01 16:30:00.000', 1, 'insert', 1)
sql alter table mt drop column c3
sql alter table mt drop column c3
...
...
tests/script/general/parser/alter1.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
sql reset query cache
sql reset query cache
...
@@ -87,7 +87,7 @@ if $data13 != NULL then
...
@@ -87,7 +87,7 @@ if $data13 != NULL then
return -1
return -1
endi
endi
sleep
3
000
sleep
1
000
print ================== insert values into table
print ================== insert values into table
sql insert into car1 values (now, 1, 1,1 ) (now +1s, 2,2,2,) car2 values (now, 1,3,3)
sql insert into car1 values (now, 1, 1,1 ) (now +1s, 2,2,2,) car2 values (now, 1,3,3)
...
...
tests/script/general/parser/alter_stable.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ========== alter_stable.sim
print ========== alter_stable.sim
...
...
tests/script/general/parser/auto_create_tb.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
...
@@ -4,7 +4,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ======================== dnode1 start
print ======================== dnode1 start
...
@@ -212,7 +212,7 @@ sleep 5000
...
@@ -212,7 +212,7 @@ sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
sql use $db
sql use $db
#### auto create multiple tables
#### auto create multiple tables
...
...
tests/script/general/parser/auto_create_tb_drop_tb.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 1
...
@@ -4,7 +4,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c maxTablesPerVnode -v 4
system sh/cfg.sh -n dnode1 -c maxTablesPerVnode -v 4
system sh/cfg.sh -n dnode1 -c ctime -v 30
system sh/cfg.sh -n dnode1 -c ctime -v 30
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = db
$dbPrefix = db
...
...
tests/script/general/parser/binary_escapeCharacter.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
sql drop database if exists ecdb
sql drop database if exists ecdb
...
...
tests/script/general/parser/col_arithmetic_operation.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = ca_db
$dbPrefix = ca_db
...
...
tests/script/general/parser/columnValue.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ========== columnValues.sim
print ========== columnValues.sim
...
...
tests/script/general/parser/columnValue_bigint.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
sql create database if not exists db
sql create database if not exists db
sql use db
sql use db
...
...
tests/script/general/parser/columnValue_bool.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
sql create database if not exists db
sql create database if not exists db
sql use db
sql use db
...
...
tests/script/general/parser/columnValue_double.sim
浏览文件 @
c73422d8
####
####
sleep
3
000
sleep
1
000
sql connect
sql connect
sql create database if not exists db
sql create database if not exists db
sql use db
sql use db
...
...
tests/script/general/parser/columnValue_float.sim
浏览文件 @
c73422d8
####
####
sleep
3
000
sleep
1
000
sql connect
sql connect
sql create database if not exists db
sql create database if not exists db
sql use db
sql use db
...
...
tests/script/general/parser/columnValue_int.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
sql create database if not exists db
sql create database if not exists db
sql use db
sql use db
...
...
tests/script/general/parser/columnValue_smallint.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
sql create database if not exists db
sql create database if not exists db
sql use db
sql use db
...
...
tests/script/general/parser/columnValue_tinyint.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
sql create database if not exists db
sql create database if not exists db
sql use db
sql use db
...
...
tests/script/general/parser/commit.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxTablesperVnode -v 100
system sh/cfg.sh -n dnode1 -c maxTablesperVnode -v 100
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = sc_db
$dbPrefix = sc_db
...
@@ -85,10 +85,10 @@ print ================== restart server to commit data into disk
...
@@ -85,10 +85,10 @@ print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 5000
sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
print ====== select from table and check num of rows returned
print ====== select from table and check num of rows returned
sql use $db
sql use $db
...
...
tests/script/general/parser/create_db.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ======================== dnode1 start
print ======================== dnode1 start
...
...
tests/script/general/parser/create_mt.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ======================== dnode1 start
print ======================== dnode1 start
...
...
tests/script/general/parser/create_tb.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ======================== dnode1 start
print ======================== dnode1 start
...
...
tests/script/general/parser/fill.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = m_fl_db
$dbPrefix = m_fl_db
...
...
tests/script/general/parser/fill_stb.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = fl1_db
$dbPrefix = fl1_db
...
...
tests/script/general/parser/fill_us.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = m_fl_db
$dbPrefix = m_fl_db
...
...
tests/script/general/parser/first_last.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxTablespervnode -v 4
system sh/cfg.sh -n dnode1 -c maxTablespervnode -v 4
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = first_db
$dbPrefix = first_db
...
@@ -80,7 +80,7 @@ sleep 5000
...
@@ -80,7 +80,7 @@ sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
run general/parser/first_last_query.sim
run general/parser/first_last_query.sim
...
...
tests/script/general/parser/first_last_query.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = first_db
$dbPrefix = first_db
...
...
tests/script/general/parser/import.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = impt_db
$dbPrefix = impt_db
...
@@ -64,7 +64,7 @@ sleep 2000
...
@@ -64,7 +64,7 @@ sleep 2000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
sql use $db
sql use $db
sql select * from tb
sql select * from tb
...
...
tests/script/general/parser/import_commit1.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c ctime -v 30
system sh/cfg.sh -n dnode1 -c ctime -v 30
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = ic_db
$dbPrefix = ic_db
...
...
tests/script/general/parser/import_commit2.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c ctime -v 30
system sh/cfg.sh -n dnode1 -c ctime -v 30
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = ic_db
$dbPrefix = ic_db
...
...
tests/script/general/parser/import_commit3.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c walLevel -v 1
system sh/cfg.sh -n dnode1 -c ctime -v 30
system sh/cfg.sh -n dnode1 -c ctime -v 30
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = ic_db
$dbPrefix = ic_db
...
...
tests/script/general/parser/insert_multiTbl.sim
浏览文件 @
c73422d8
...
@@ -6,7 +6,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
...
@@ -6,7 +6,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep 2000
sleep 2000
sql connect
sql connect
sleep
3
000
sleep
1
000
print ======================== dnode1 start
print ======================== dnode1 start
sql create database mul_db
sql create database mul_db
...
...
tests/script/general/parser/insert_tb.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ======================== dnode1 start
print ======================== dnode1 start
...
...
tests/script/general/parser/interp.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = intp_db
$dbPrefix = intp_db
...
...
tests/script/general/parser/interp_test.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = intp_db
$dbPrefix = intp_db
...
@@ -303,6 +303,8 @@ $tb = $tbPrefix . 0
...
@@ -303,6 +303,8 @@ $tb = $tbPrefix . 0
return -1
return -1
endi
endi
print select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $ts0 fill(linear)
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $ts0 fill(linear)
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $ts0 fill(linear)
if $rows != 1 then
if $rows != 1 then
return -1
return -1
...
@@ -338,6 +340,8 @@ $tb = $tbPrefix . 0
...
@@ -338,6 +340,8 @@ $tb = $tbPrefix . 0
return -1
return -1
endi
endi
# columns contain NULL values
# columns contain NULL values
print select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from intp_tb3 where ts = $ts0 fill(linear)
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from intp_tb3 where ts = $ts0 fill(linear)
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from intp_tb3 where ts = $ts0 fill(linear)
if $rows != 1 then
if $rows != 1 then
return -1
return -1
...
@@ -380,6 +384,7 @@ $tb = $tbPrefix . 0
...
@@ -380,6 +384,7 @@ $tb = $tbPrefix . 0
endi
endi
$t = $tsu + 1000
$t = $tsu + 1000
print select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(linear)
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(linear)
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(linear)
if $rows != 0 then
if $rows != 0 then
return -1
return -1
...
@@ -387,6 +392,7 @@ $tb = $tbPrefix . 0
...
@@ -387,6 +392,7 @@ $tb = $tbPrefix . 0
## fill(value)
## fill(value)
$t = $ts0 + 1000
$t = $ts0 + 1000
print 91
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(value, -1, -2)
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from $tb where ts = $t fill(value, -1, -2)
if $rows != 1 then
if $rows != 1 then
return -1
return -1
...
@@ -456,6 +462,7 @@ $tb = $tbPrefix . 0
...
@@ -456,6 +462,7 @@ $tb = $tbPrefix . 0
if $data09 != nchar0 then
if $data09 != nchar0 then
return -1
return -1
endi
endi
# table has NULL columns
# table has NULL columns
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from intp_tb3 where ts = $ts0 fill(value, -1, -2, -3)
sql select interp(ts), interp(c1), interp(c2), interp(c3), interp(c4), interp(c5), interp(c6), interp(c7), interp(c8), interp(c9) from intp_tb3 where ts = $ts0 fill(value, -1, -2, -3)
if $rows != 1 then
if $rows != 1 then
...
@@ -491,11 +498,14 @@ $tb = $tbPrefix . 0
...
@@ -491,11 +498,14 @@ $tb = $tbPrefix . 0
##### select interp from stable
##### select interp from stable
## interp(*) from stb
## interp(*) from stb
print select interp(*) from $stb where ts = $ts0
sql select interp(*) from $stb where ts = $ts0
sql select interp(*) from $stb where ts = $ts0
if $rows != 1 then
if $rows != 1 then
return -1
return -1
endi
endi
$t = $ts0 + 1000
$t = $ts0 + 1000
print 92
sql select interp(*) from $stb where ts = $t
sql select interp(*) from $stb where ts = $t
if $rows != 0 then
if $rows != 0 then
return -1
return -1
...
...
tests/script/general/parser/lastrow.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lr_db
$dbPrefix = lr_db
...
@@ -66,7 +66,7 @@ sleep 5000
...
@@ -66,7 +66,7 @@ sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
run general/parser/lastrow_query.sim
run general/parser/lastrow_query.sim
...
...
tests/script/general/parser/lastrow_query.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lr_db
$dbPrefix = lr_db
...
...
tests/script/general/parser/limit.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm_db
$dbPrefix = lm_db
...
@@ -66,7 +66,7 @@ sleep 5000
...
@@ -66,7 +66,7 @@ sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
run general/parser/limit_tb.sim
run general/parser/limit_tb.sim
run general/parser/limit_stb.sim
run general/parser/limit_stb.sim
...
...
tests/script/general/parser/limit1.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm1_db
$dbPrefix = lm1_db
...
...
tests/script/general/parser/limit1_stb.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm1_db
$dbPrefix = lm1_db
...
...
tests/script/general/parser/limit1_tb.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm1_db
$dbPrefix = lm1_db
...
...
tests/script/general/parser/limit1_tblocks100.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm1_db
$dbPrefix = lm1_db
...
...
tests/script/general/parser/limit2.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c rowsInFileBlock -v 255
system sh/cfg.sh -n dnode1 -c rowsInFileBlock -v 255
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm2_db
$dbPrefix = lm2_db
...
...
tests/script/general/parser/limit2_query.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm2_db
$dbPrefix = lm2_db
...
...
tests/script/general/parser/limit2_tblocks100.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c rowsInFileBlock -v 255
system sh/cfg.sh -n dnode1 -c rowsInFileBlock -v 255
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm2_db
$dbPrefix = lm2_db
...
@@ -69,7 +69,7 @@ print ====== tables created
...
@@ -69,7 +69,7 @@ print ====== tables created
print ================== restart server to commit data into disk
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
1
000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
...
...
tests/script/general/parser/limit_stb.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm_db
$dbPrefix = lm_db
...
...
tests/script/general/parser/limit_tb.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = lm_db
$dbPrefix = lm_db
...
...
tests/script/general/parser/mixed_blocks.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
...
@@ -5,7 +5,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = mb_db
$dbPrefix = mb_db
...
...
tests/script/general/parser/nchar.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -5,7 +5,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ======================== dnode1 start
print ======================== dnode1 start
...
...
tests/script/general/parser/null_char.sim
浏览文件 @
c73422d8
...
@@ -6,7 +6,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
...
@@ -6,7 +6,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/cfg.sh -n dnode1 -c tableMetaKeepTimer -v 3
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ========== NULL_char.sim
print ========== NULL_char.sim
...
...
tests/script/general/parser/projection_limit_offset.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = group_db
$dbPrefix = group_db
...
...
tests/script/general/parser/selectResNum.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 200
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 200
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = sc_db
$dbPrefix = sc_db
...
@@ -122,9 +122,9 @@ system sh/exec.sh -n dnode1 -s stop -x SIGINT
...
@@ -122,9 +122,9 @@ system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep 6000
sleep 6000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ====== server restart completed
print ====== server restart completed
sleep
3
000
sleep
1
000
sql connect
sql connect
sleep
3
000
sleep
1
000
sql use $db
sql use $db
##### repeat test after server restart
##### repeat test after server restart
...
...
tests/script/general/parser/select_across_vnodes.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 5
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 5
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = sav_db
$dbPrefix = sav_db
...
...
tests/script/general/parser/select_from_cache_disk.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = scd_db
$dbPrefix = scd_db
...
@@ -39,7 +39,7 @@ sleep 5000
...
@@ -39,7 +39,7 @@ sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
sql use $db
sql use $db
# generate some data in cache
# generate some data in cache
...
...
tests/script/general/parser/set_tag_vals.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/cfg.sh -n dnode1 -c maxVgroupsPerDb -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = db
$dbPrefix = db
...
...
tests/script/general/parser/single_row_in_tb.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = sr_db
$dbPrefix = sr_db
...
...
tests/script/general/parser/single_row_in_tb_query.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = sr_db
$dbPrefix = sr_db
...
...
tests/script/general/parser/slimit.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = slm_db
$dbPrefix = slm_db
...
@@ -101,7 +101,7 @@ sleep 5000
...
@@ -101,7 +101,7 @@ sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
run general/parser/slimit_query.sim
run general/parser/slimit_query.sim
...
...
tests/script/general/parser/slimit1.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = slm_alt_tg_db
$dbPrefix = slm_alt_tg_db
...
@@ -60,7 +60,7 @@ sleep 5000
...
@@ -60,7 +60,7 @@ sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
run general/parser/slimit1_query.sim
run general/parser/slimit1_query.sim
...
...
tests/script/general/parser/slimit1_query.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = slm_alt_tg_db
$dbPrefix = slm_alt_tg_db
...
...
tests/script/general/parser/slimit_alter_tags.sim
浏览文件 @
c73422d8
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
...
@@ -4,7 +4,7 @@ system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = slm_alt_tg_db
$dbPrefix = slm_alt_tg_db
...
@@ -175,7 +175,7 @@ sleep 5000
...
@@ -175,7 +175,7 @@ sleep 5000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
sql use $db
sql use $db
### repeat above queries
### repeat above queries
...
...
tests/script/general/parser/slimit_query.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = slm_db
$dbPrefix = slm_db
...
...
tests/script/general/parser/stream_on_sys.sim
浏览文件 @
c73422d8
...
@@ -6,7 +6,7 @@ system sh/cfg.sh -n dnode1 -c monitor -v 1
...
@@ -6,7 +6,7 @@ system sh/cfg.sh -n dnode1 -c monitor -v 1
system sh/cfg.sh -n dnode1 -c monitorInterval -v 1
system sh/cfg.sh -n dnode1 -c monitorInterval -v 1
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
print ======================== stream_on_sys.sim
print ======================== stream_on_sys.sim
...
...
tests/script/general/parser/tags_dynamically_specifiy.sim
浏览文件 @
c73422d8
...
@@ -3,9 +3,9 @@ system sh/stop_dnodes.sh
...
@@ -3,9 +3,9 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
sleep
3
000
sleep
1
000
$db = dytag_db
$db = dytag_db
$tbNum = 10
$tbNum = 10
...
...
tests/script/general/parser/tags_filter.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$db = tf_db
$db = tf_db
...
...
tests/script/general/parser/tbnameIn.sim
浏览文件 @
c73422d8
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
...
@@ -3,7 +3,7 @@ system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = ti_db
$dbPrefix = ti_db
...
...
tests/script/general/parser/tbnameIn_query.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = ti_db
$dbPrefix = ti_db
...
...
tests/script/general/parser/testSuite.sim
浏览文件 @
c73422d8
sleep 2
000
#sleep 1
000
run general/parser/alter.sim
#
run general/parser/alter.sim
sleep 2
000
#sleep 1
000
run general/parser/alter1.sim
#
run general/parser/alter1.sim
sleep 2
000
#sleep 1
000
run general/parser/alter_stable.sim
#
run general/parser/alter_stable.sim
sleep 2
000
#sleep 1
000
run general/parser/auto_create_tb.sim
#
run general/parser/auto_create_tb.sim
sleep 2
000
#sleep 1
000
run general/parser/auto_create_tb_drop_tb.sim
#
run general/parser/auto_create_tb_drop_tb.sim
sleep 2
000
#sleep 1
000
run general/parser/col_arithmetic_operation.sim
#
run general/parser/col_arithmetic_operation.sim
sleep 2
000
#sleep 1
000
run general/parser/columnValue.sim
#
run general/parser/columnValue.sim
sleep 2
000
#sleep 1
000
run general/parser/commit.sim
#
run general/parser/commit.sim
sleep 2
000
#sleep 1
000
run general/parser/create_db.sim
#
run general/parser/create_db.sim
sleep 2
000
#sleep 1
000
run general/parser/create_mt.sim
#
run general/parser/create_mt.sim
sleep 2
000
#sleep 1
000
run general/parser/create_tb.sim
#
run general/parser/create_tb.sim
sleep 2
000
#sleep 1
000
run general/parser/dbtbnameValidate.sim
#
run general/parser/dbtbnameValidate.sim
sleep 2
000
#sleep 1
000
run general/parser/fill.sim
#
run general/parser/fill.sim
sleep 2
000
#sleep 1
000
run general/parser/fill_stb.sim
#
run general/parser/fill_stb.sim
sleep 2
000
#sleep 1
000
#run general/parser/fill_us.sim #
#
#
run general/parser/fill_us.sim #
sleep 2
000
#sleep 1
000
run general/parser/first_last.sim
#
run general/parser/first_last.sim
sleep 2
000
#sleep 1
000
run general/parser/import_commit1.sim
#
run general/parser/import_commit1.sim
sleep 2
000
#sleep 1
000
run general/parser/import_commit2.sim
#
run general/parser/import_commit2.sim
sleep 2
000
#sleep 1
000
run general/parser/import_commit3.sim
#
run general/parser/import_commit3.sim
sleep 2
000
#sleep 1
000
#run general/parser/import_file.sim
#
#
run general/parser/import_file.sim
sleep 2
000
#sleep 1
000
run general/parser/insert_tb.sim
#
run general/parser/insert_tb.sim
sleep 2
000
#sleep 1
000
run general/parser/tags_dynamically_specifiy.sim
#
run general/parser/tags_dynamically_specifiy.sim
sleep 2
000
#sleep 1
000
run general/parser/interp.sim
#
run general/parser/interp.sim
sleep 2
000
#sleep 1
000
run general/parser/lastrow.sim
#
run general/parser/lastrow.sim
sleep 2
000
#sleep 1
000
run general/parser/limit.sim
#
run general/parser/limit.sim
sleep 2
000
#sleep 1
000
run general/parser/limit1.sim
#
run general/parser/limit1.sim
sleep 2
000
#sleep 1
000
run general/parser/limit1_tblocks100.sim
#
run general/parser/limit1_tblocks100.sim
sleep 2
000
#sleep 1
000
run general/parser/limit2.sim
#
run general/parser/limit2.sim
sleep
2
000
sleep
1
000
run general/parser/mixed_blocks.sim
run general/parser/mixed_blocks.sim
sleep
2
000
sleep
1
000
run general/parser/nchar.sim
run general/parser/nchar.sim
sleep
2
000
sleep
1
000
run general/parser/null_char.sim
run general/parser/null_char.sim
sleep
2
000
sleep
1
000
run general/parser/selectResNum.sim
run general/parser/selectResNum.sim
sleep
2
000
sleep
1
000
run general/parser/select_across_vnodes.sim
run general/parser/select_across_vnodes.sim
sleep
2
000
sleep
1
000
run general/parser/select_from_cache_disk.sim
run general/parser/select_from_cache_disk.sim
sleep
2
000
sleep
1
000
run general/parser/set_tag_vals.sim
run general/parser/set_tag_vals.sim
sleep
2
000
sleep
1
000
run general/parser/single_row_in_tb.sim
run general/parser/single_row_in_tb.sim
sleep
2
000
sleep
1
000
run general/parser/slimit.sim
run general/parser/slimit.sim
sleep
2
000
sleep
1
000
run general/parser/slimit1.sim
run general/parser/slimit1.sim
sleep
2
000
sleep
1
000
run general/parser/slimit_alter_tags.sim
run general/parser/slimit_alter_tags.sim
sleep
2
000
sleep
1
000
run general/parser/tbnameIn.sim
run general/parser/tbnameIn.sim
sleep
2
000
sleep
1
000
run general/parser/slimit_alter_tags.sim # persistent failed
run general/parser/slimit_alter_tags.sim # persistent failed
sleep
2
000
sleep
1
000
run general/parser/join.sim
run general/parser/join.sim
sleep
2
000
sleep
1
000
run general/parser/join_multivnode.sim
run general/parser/join_multivnode.sim
sleep
2
000
sleep
1
000
run general/parser/projection_limit_offset.sim
run general/parser/projection_limit_offset.sim
sleep
2
000
sleep
1
000
run general/parser/select_with_tags.sim
run general/parser/select_with_tags.sim
sleep
2
000
sleep
1
000
run general/parser/groupby.sim
run general/parser/groupby.sim
sleep
2
000
sleep
1
000
run general/parser/tags_filter.sim
run general/parser/tags_filter.sim
sleep
2
000
sleep
1
000
run general/parser/topbot.sim
run general/parser/topbot.sim
sleep
2
000
sleep
1
000
run general/parser/union.sim
run general/parser/union.sim
sleep
2
000
sleep
1
000
run general/parser/constCol.sim
run general/parser/constCol.sim
sleep
2
000
sleep
1
000
run general/parser/where.sim
run general/parser/where.sim
sleep
2
000
sleep
1
000
run general/parser/timestamp.sim
run general/parser/timestamp.sim
sleep
2
000
sleep
1
000
run general/parser/sliding.sim
run general/parser/sliding.sim
#sleep
2
000
#sleep
1
000
#run general/parser/repeatStream.sim
#run general/parser/repeatStream.sim
#sleep
2
000
#sleep
1
000
#run general/parser/stream_on_sys.sim
#run general/parser/stream_on_sys.sim
#sleep
2
000
#sleep
1
000
#run general/parser/stream.sim
#run general/parser/stream.sim
\ No newline at end of file
tests/script/general/parser/timestamp.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
...
@@ -5,7 +5,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = ts_db
$dbPrefix = ts_db
...
@@ -59,10 +59,10 @@ run general/parser/timestamp_query.sim
...
@@ -59,10 +59,10 @@ run general/parser/timestamp_query.sim
print ================== restart server to commit data into disk
print ================== restart server to commit data into disk
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT
sleep
3
000
sleep
1
000
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
print ================== server restart completed
print ================== server restart completed
sql connect
sql connect
sleep
3
000
sleep
1
000
run general/parser/timestamp_query.sim
run general/parser/timestamp_query.sim
tests/script/general/parser/timestamp_query.sim
浏览文件 @
c73422d8
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = ts_db
$dbPrefix = ts_db
...
...
tests/script/general/parser/where.sim
浏览文件 @
c73422d8
...
@@ -5,7 +5,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
...
@@ -5,7 +5,7 @@ system sh/cfg.sh -n dnode1 -c walLevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/cfg.sh -n dnode1 -c maxtablespervnode -v 4
system sh/exec.sh -n dnode1 -s start
system sh/exec.sh -n dnode1 -s start
sleep
3
000
sleep
1
000
sql connect
sql connect
$dbPrefix = wh_db
$dbPrefix = wh_db
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录