fix(query): remove invalid code.
This commit is contained in:
parent
9ee13ca254
commit
cd5491fea1
|
@ -48,6 +48,8 @@ pysim/
|
||||||
*.out
|
*.out
|
||||||
*DS_Store
|
*DS_Store
|
||||||
tests/script/api/batchprepare
|
tests/script/api/batchprepare
|
||||||
|
taosadapter
|
||||||
|
taosadapter-debug
|
||||||
|
|
||||||
# Doxygen Generated files
|
# Doxygen Generated files
|
||||||
html/
|
html/
|
||||||
|
|
|
@ -679,9 +679,9 @@ SOperatorInfo* createTableScanOperatorInfo(STableScanPhysiNode* pTableScanNode,
|
||||||
pSup->pCtx = createSqlFunctionCtx(pSup->pExprInfo, pSup->numOfExprs, &pSup->rowEntryInfoOffset);
|
pSup->pCtx = createSqlFunctionCtx(pSup->pExprInfo, pSup->numOfExprs, &pSup->rowEntryInfoOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
// pInfo->scanInfo = (SScanInfo){.numOfAsc = pTableScanNode->scanSeq[0], .numOfDesc = pTableScanNode->scanSeq[1]};
|
pInfo->scanInfo = (SScanInfo){.numOfAsc = pTableScanNode->scanSeq[0], .numOfDesc = pTableScanNode->scanSeq[1]};
|
||||||
pInfo->scanInfo = (SScanInfo){.numOfAsc = 0, .numOfDesc = 1}; // for debug purpose
|
// pInfo->scanInfo = (SScanInfo){.numOfAsc = 0, .numOfDesc = 1}; // for debug purpose
|
||||||
pInfo->cond.order = TSDB_ORDER_DESC;
|
// pInfo->cond.order = TSDB_ORDER_DESC;
|
||||||
|
|
||||||
pInfo->pdInfo.interval = extractIntervalInfo(pTableScanNode);
|
pInfo->pdInfo.interval = extractIntervalInfo(pTableScanNode);
|
||||||
pInfo->readHandle = *readHandle;
|
pInfo->readHandle = *readHandle;
|
||||||
|
|
|
@ -55,6 +55,7 @@ if $rows != 4 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
if $data01 != 10 then
|
if $data01 != 10 then
|
||||||
|
print expect 10, actual: $data01
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
if $data02 != 2.00000 then
|
if $data02 != 2.00000 then
|
||||||
|
|
Loading…
Reference in New Issue