restore case
This commit is contained in:
parent
57c298b439
commit
63ccb3fa6f
|
@ -7,7 +7,7 @@ sleep 100
|
|||
sql connect
|
||||
|
||||
print ========== db name and table name check in create and drop, describe
|
||||
sql create database abc keep 36500,36500,36500
|
||||
sql create database abc keep 36500
|
||||
sql create database 'abc123'
|
||||
sql create database '_ab1234'
|
||||
sql create database 'ABC123'
|
||||
|
|
|
@ -86,7 +86,7 @@ sleep 100
|
|||
run general/parser/first_last_query.sim
|
||||
|
||||
print =================> insert data regression test
|
||||
sql create database test keep 36500,36500,36500
|
||||
sql create database test keep 36500
|
||||
sql use test
|
||||
sql create table tm0 (ts timestamp, k int)
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ $db = $dbPrefix . $i
|
|||
$mt = $mtPrefix . $i
|
||||
|
||||
sql drop database if exists $db
|
||||
sql create database $db keep 36500,36500,36500
|
||||
sql create database $db keep 36500
|
||||
sql use $db
|
||||
|
||||
print =====================================> td-4481
|
||||
|
|
|
@ -29,7 +29,7 @@ $tstart = 100000
|
|||
|
||||
sql drop database if exists $db -x step1
|
||||
step1:
|
||||
sql create database if not exists $db keep 36500,36500,36500
|
||||
sql create database if not exists $db keep 36500
|
||||
sql use $db
|
||||
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ $tstart = 100000
|
|||
|
||||
sql drop database if exists $db -x step1
|
||||
step1:
|
||||
sql create database if not exists $db keep 36500,36500,36500
|
||||
sql create database if not exists $db keep 36500
|
||||
sql use $db
|
||||
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ $tstart = 100000
|
|||
|
||||
sql drop database if exists $db -x step1
|
||||
step1:
|
||||
sql create database if not exists $db keep 36500,36500,36500
|
||||
sql create database if not exists $db keep 36500
|
||||
|
||||
sql use $db
|
||||
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
|
||||
|
|
|
@ -24,7 +24,7 @@ $tstart = 100000
|
|||
|
||||
sql drop database if exists $db -x step1
|
||||
step1:
|
||||
sql create database if not exists $db keep 36500,36500,36500
|
||||
sql create database if not exists $db keep 36500
|
||||
sql use $db
|
||||
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ $tstart = 100000
|
|||
|
||||
sql drop database if exists $db -x step1
|
||||
step1:
|
||||
sql create database if not exists $db keep 36500,36500,36500
|
||||
sql create database if not exists $db keep 36500
|
||||
sql use $db
|
||||
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ $tstart = 100000
|
|||
|
||||
sql drop database if exists $db -x step1
|
||||
step1:
|
||||
sql create database if not exists $db keep 36500,36500,36500
|
||||
sql create database if not exists $db keep 36500
|
||||
sql use $db
|
||||
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12), t3 int)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ $mt = $mtPrefix . $i
|
|||
|
||||
sql drop database if exists $db -x step1
|
||||
step1:
|
||||
sql create database if not exists $db keep 36500,36500,36500
|
||||
sql create database if not exists $db keep 36500
|
||||
sql use $db
|
||||
sql create table $mt (ts timestamp, c1 int, c2 float, c3 bigint, c4 smallint, c5 tinyint, c6 double, c7 bool, c8 binary(10), c9 nchar(9)) TAGS(t1 int, t2 binary(12))
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ $stb = $stbPrefix . $i
|
|||
|
||||
sql drop database $db -x step1
|
||||
step1:
|
||||
sql create database $db cache 16 maxrows 4096 keep 36500,36500,36500
|
||||
sql create database $db cache 16 maxrows 4096 keep 36500
|
||||
print ====== create tables
|
||||
sql use $db
|
||||
sql create table $stb (ts timestamp, c1 int, c2 bigint, c3 float, c4 double, c5 smallint, c6 tinyint, c7 bool, c8 binary(10), c9 nchar(10)) tags(t1 int)
|
||||
|
|
|
@ -25,7 +25,7 @@ $stb = $stbPrefix . $i
|
|||
|
||||
sql drop database $db -x step1
|
||||
step1:
|
||||
sql create database $db cache 16 maxrows 4096 keep 36500,36500,36500
|
||||
sql create database $db cache 16 maxrows 4096 keep 36500
|
||||
print ====== create tables
|
||||
sql use $db
|
||||
sql create table $stb (ts timestamp, c1 int, c2 bigint, c3 float, c4 double, c5 smallint, c6 tinyint, c7 bool, c8 binary(10), c9 nchar(10)) tags(t1 int)
|
||||
|
@ -175,7 +175,7 @@ if $data21 != 2.10000 then
|
|||
endi
|
||||
|
||||
print =====================td-1302 case
|
||||
sql create database t1 keep 36500,36500,36500;
|
||||
sql create database t1 keep 36500
|
||||
sql use t1;
|
||||
sql create table test(ts timestamp, k int);
|
||||
sql insert into test values(29999, 1)(70000, 2)(80000, 3)
|
||||
|
@ -194,7 +194,7 @@ if $rows != 3 then
|
|||
endi
|
||||
|
||||
print ==============>td-1308
|
||||
sql create database db keep 36500,36500,36500;
|
||||
sql create database db keep 36500
|
||||
sql use db;
|
||||
|
||||
sql create table stb (ts timestamp, c1 int, c2 binary(10)) tags(t1 binary(10));
|
||||
|
|
Loading…
Reference in New Issue