fix:[TD-23339] parse block error
This commit is contained in:
parent
d5a06da96e
commit
6f6239a7fa
|
@ -695,6 +695,8 @@ int rawBlockBindData(SQuery* query, STableMeta* pTableMeta, void* data, SVCreate
|
||||||
if( boundInfo->pColIndex[c] != -1){
|
if( boundInfo->pColIndex[c] != -1){
|
||||||
SColData* pCol = taosArrayGet(pTableCxt->pData->aCol, c);
|
SColData* pCol = taosArrayGet(pTableCxt->pData->aCol, c);
|
||||||
tColDataAddValueByDataBlock(pCol, 0, 0, numOfRows, NULL, NULL);
|
tColDataAddValueByDataBlock(pCol, 0, 0, numOfRows, NULL, NULL);
|
||||||
|
}else{
|
||||||
|
boundInfo->pColIndex[c] = c; // restore for next block
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue