test: update the sim, set the output as uint, instead of int to avoid overflow.

This commit is contained in:
Haojun Liao 2024-12-27 11:19:24 +08:00
parent e8f63cded9
commit a334bf1991
2 changed files with 6 additions and 2 deletions

View File

@ -6429,7 +6429,7 @@ int32_t blockDistFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) {
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);
varDataSetLen(st, len);
code = colDataSetVal(pColInfo, row++, st, false);

View File

@ -476,4 +476,8 @@ sql connect
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