metrics_del.sim 23:50 insert two days bug fixed
This commit is contained in:
parent
8e39bdd79f
commit
4833f5eaa3
|
@ -34,11 +34,11 @@ while $i < $tbNum
|
||||||
$tb = $tbPrefix . $i
|
$tb = $tbPrefix . $i
|
||||||
sql create table $tb using $mt tags( $i )
|
sql create table $tb using $mt tags( $i )
|
||||||
|
|
||||||
$x = -1440
|
$x = 0
|
||||||
$y = 0
|
$y = 0
|
||||||
while $y < $rowNum
|
while $y < $rowNum
|
||||||
$ms = $x . m
|
$ts = 1626710400000 + $x
|
||||||
sql insert into $tb values (now $ms , $y , $y )
|
sql insert into $tb values ($ts , $y , $y )
|
||||||
$x = $x + 1
|
$x = $x + 1
|
||||||
$y = $y + 1
|
$y = $y + 1
|
||||||
endw
|
endw
|
||||||
|
|
Loading…
Reference in New Issue