[modify sim case]

This commit is contained in:
Hui Li 2020-06-12 15:31:42 +08:00
parent 12af01ad89
commit 96d4527331
2 changed files with 6 additions and 6 deletions

View File

@ -67,7 +67,7 @@ sql use $db
# create table , insert data # create table , insert data
$stb = stb $stb = stb
sql create table $stb (ts timestamp, c1 int, c2 int) tags(t1 int) sql create table $stb (ts timestamp, c1 int, c2 int) tags(t0 int, t1 int)
$rowNum = 500 $rowNum = 500
$tblNum = $totalTableNum $tblNum = $totalTableNum
$totalRows = 0 $totalRows = 0
@ -77,7 +77,7 @@ $tsEnd = 0
$i = 0 $i = 0
while $i < $tblNum while $i < $tblNum
$tb = tb . $i $tb = tb . $i
sql create table $tb using $stb tags( $i ) sql create table $tb using $stb tags( $i , $i )
$x = 0 $x = 0
while $x < $rowNum while $x < $rowNum
@ -164,7 +164,7 @@ $totalRows = 0
$i = 0 $i = 0
while $i < $tblNum while $i < $tblNum
$tb = tb . $i $tb = tb . $i
sql create table $tb using $stb tags( $i , $i ) sql create table $tb using $stb tags( $i , $i , $i )
$x = 0 $x = 0
while $x < $rowNum while $x < $rowNum

View File

@ -67,7 +67,7 @@ sql use $db
# create table , insert data # create table , insert data
$stb = stb $stb = stb
sql create table $stb (ts timestamp, c1 int, c2 int) tags(t1 int) sql create table $stb (ts timestamp, c1 int, c2 int) tags(t0 int, t1 int)
$rowNum = 500 $rowNum = 500
$tblNum = $totalTableNum $tblNum = $totalTableNum
$totalRows = 0 $totalRows = 0
@ -77,7 +77,7 @@ $tsEnd = 0
$i = 0 $i = 0
while $i < $tblNum while $i < $tblNum
$tb = tb . $i $tb = tb . $i
sql create table $tb using $stb tags( $i ) sql create table $tb using $stb tags( $i , $i )
$x = 0 $x = 0
while $x < $rowNum while $x < $rowNum
@ -164,7 +164,7 @@ $totalRows = 0
$i = 0 $i = 0
while $i < $tblNum while $i < $tblNum
$tb = tb . $i $tb = tb . $i
sql create table $tb using $stb tags( $i , $i ) sql create table $tb using $stb tags( $i , $i , $i )
$x = 0 $x = 0
while $x < $rowNum while $x < $rowNum