fix: when db_name != xxx can not be optimized by uid index
This commit is contained in:
parent
5531775f8e
commit
c971fe1606
|
@ -1482,7 +1482,7 @@ static SSDataBlock* sysTableScanUserTables(SOperatorInfo* pOperator) {
|
||||||
pInfo->pIdx->init = 1;
|
pInfo->pIdx->init = 1;
|
||||||
SSDataBlock* blk = sysTableBuildUserTablesByUids(pOperator);
|
SSDataBlock* blk = sysTableBuildUserTablesByUids(pOperator);
|
||||||
return blk;
|
return blk;
|
||||||
} else if ((flt == -2) || (flt == -1)) {
|
} else if ((flt == -1) || (flt == -2)) {
|
||||||
qDebug("%s failed to get sys table info by idx, scan sys table one by one", GET_TASKID(pTaskInfo));
|
qDebug("%s failed to get sys table info by idx, scan sys table one by one", GET_TASKID(pTaskInfo));
|
||||||
}
|
}
|
||||||
} else if (pCondition != NULL && (pInfo->pIdx != NULL && pInfo->pIdx->init == 1)) {
|
} else if (pCondition != NULL && (pInfo->pIdx != NULL && pInfo->pIdx->init == 1)) {
|
||||||
|
|
Loading…
Reference in New Issue