[modify sim case]
This commit is contained in:
parent
12af01ad89
commit
96d4527331
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue