未验证 提交 b0bdd7c2 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

Hotfix/sangshuduo/td 5300 taosdemo stmt print (#6918)

* [TD-5300]<fix>: taosdemo stmt debug print.

* fix default iface is unknown.
上级 0953a606
......@@ -5246,12 +5246,18 @@ static int32_t generateStbDataTail(
int64_t lenOfRow = 0;
if (tsRand) {
if (superTblInfo->disorderRatio > 0) {
lenOfRow = generateStbRowData(superTblInfo, data,
startTime + getTSRandTail(
superTblInfo->timeStampStep, k,
superTblInfo->disorderRatio,
superTblInfo->disorderRange)
);
} else {
lenOfRow = generateStbRowData(superTblInfo, data,
startTime + superTblInfo->timeStampStep * k
);
}
} else {
lenOfRow = getRowDataFromSample(
data,
......@@ -5871,7 +5877,7 @@ static int32_t prepareStbStmtInterlace(
stbInfo,
stmt,
tableName,
g_args.num_of_RPR,
batch,
insertRows, 0, startTime,
pSamplePos);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册