未验证 提交 e57faad9 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #7034 from taosdata/dkj_dev

metrics_del.sim 23:50 insert two days bug fixed
...@@ -480,6 +480,10 @@ int tsCompressTimestampImp(const char *const input, const int nelements, char *c ...@@ -480,6 +480,10 @@ int tsCompressTimestampImp(const char *const input, const int nelements, char *c
int64_t *istream = (int64_t *)input; int64_t *istream = (int64_t *)input;
int64_t prev_value = istream[0]; int64_t prev_value = istream[0];
if(prev_value >= 0x8000000000000000) {
uWarn("compression timestamp is over signed long long range. ts = 0x%"PRIx64" \n", prev_value);
goto _exit_over;
}
int64_t prev_delta = -prev_value; int64_t prev_delta = -prev_value;
uint8_t flags = 0, flag1 = 0, flag2 = 0; uint8_t flags = 0, flag1 = 0, flag2 = 0;
uint64_t dd1 = 0, dd2 = 0; uint64_t dd1 = 0, dd2 = 0;
......
...@@ -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 = 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册