fix: compile error in windows

This commit is contained in:
Shengliang Guan 2022-09-27 10:27:25 +08:00
parent 67694223f3
commit 8198516b7e
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ static void *mndThreadFp(void *param) {
mndCalMqRebalance(pMnode);
}
if (sec % tsTelemInterval == (MIN(60, (tsTelemInterval - 1)))) {
if (sec % tsTelemInterval == (TMIN(60, (tsTelemInterval - 1)))) {
mndPullupTelem(pMnode);
}

View File

@ -201,7 +201,7 @@ void *threadFunc(void *param) {
int64_t t = pInfo->tableBeginIndex;
for (; t <= pInfo->tableEndIndex;) {
// int64_t batch = (pInfo->tableEndIndex - t);
// batch = MIN(batch, batchNum);
// batch = TMIN(batch, batchNum);
int32_t len = sprintf(qstr, "create table");
for (int32_t i = 0; i < batchNumOfTbl;) {