提交 234aad8e 编写于 作者: T tickduan

db name len and metrics_del.sim two problem fixed

上级 31fe3946
...@@ -27,7 +27,7 @@ typedef struct { ...@@ -27,7 +27,7 @@ typedef struct {
int32_t vgId; int32_t vgId;
char user[TSDB_USER_LEN]; char user[TSDB_USER_LEN];
char pass[TSDB_KEY_LEN]; char pass[TSDB_KEY_LEN];
char db[TSDB_DB_NAME_LEN]; char db[TSDB_ACCT_ID_LEN + TSDB_DB_NAME_LEN]; // size must same with SVnodeObj.db[TSDB_ACCT_ID_LEN + TSDB_DB_NAME_LEN]
FCqWrite cqWrite; FCqWrite cqWrite;
} SCqCfg; } SCqCfg;
......
...@@ -34,11 +34,11 @@ while $i < $tbNum ...@@ -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 = 1
$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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册