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

Hotfix/sangshuduo/td 5300 taosdemo stmt print for master (#6919)

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

* fix default iface is unknown.

* merge with TD-5300 fix against develop
上级 59f9aa8c
......@@ -5249,12 +5249,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,
......@@ -5874,7 +5880,7 @@ static int32_t prepareStbStmtInterlace(
stbInfo,
stmt,
tableName,
g_args.num_of_RPR,
batch,
insertRows, 0, startTime,
pSamplePos);
}
......@@ -5892,7 +5898,7 @@ static int32_t prepareStbStmtProgressive(
stbInfo,
stmt,
tableName,
g_args.num_of_RPR,
batch,
insertRows, recordFrom, startTime,
pSamplePos);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册