fix: compile error in windows
This commit is contained in:
parent
67694223f3
commit
8198516b7e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;) {
|
||||
|
|
Loading…
Reference in New Issue