test: update the sim, set the output as uint, instead of int to avoid overflow.
This commit is contained in:
parent
e8f63cded9
commit
a334bf1991
|
@ -6429,7 +6429,7 @@ int32_t blockDistFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) {
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
len = tsnprintf(varDataVal(st), sizeof(st) - VARSTR_HEADER_SIZE, "Inmem_Rows=[%d] Stt_Rows=[%d] ",
|
len = tsnprintf(varDataVal(st), sizeof(st) - VARSTR_HEADER_SIZE, "Inmem_Rows=[%u] Stt_Rows=[%u] ",
|
||||||
pData->numOfInmemRows, pData->numOfSttRows);
|
pData->numOfInmemRows, pData->numOfSttRows);
|
||||||
varDataSetLen(st, len);
|
varDataSetLen(st, len);
|
||||||
code = colDataSetVal(pColInfo, row++, st, false);
|
code = colDataSetVal(pColInfo, row++, st, false);
|
||||||
|
|
|
@ -476,4 +476,8 @@ sql connect
|
||||||
|
|
||||||
sleep 30000
|
sleep 30000
|
||||||
|
|
||||||
sql select start_ver, checkpoint_ver from information_schema.ins_stream_tasks;
|
sql select start_ver, checkpoint_ver from information_schema.ins_stream_tasks where level='source';
|
||||||
|
sleep 500
|
||||||
|
|
||||||
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue