refactor:do some internal refactor.
This commit is contained in:
commit
b329b286ac
|
@ -110,9 +110,9 @@ typedef struct SFileBlockInfo {
|
||||||
#define FUNCTION_COV 38
|
#define FUNCTION_COV 38
|
||||||
|
|
||||||
typedef struct SResultRowEntryInfo {
|
typedef struct SResultRowEntryInfo {
|
||||||
bool initialized/*:1*/; // output buffer has been initialized
|
bool initialized:1; // output buffer has been initialized
|
||||||
bool complete/*:1*/; // query has completed
|
bool complete:1; // query has completed
|
||||||
uint8_t isNullRes/*:6*/; // the result is null
|
uint8_t isNullRes:6; // the result is null
|
||||||
uint8_t numOfRes; // num of output result in current buffer
|
uint8_t numOfRes; // num of output result in current buffer
|
||||||
} SResultRowEntryInfo;
|
} SResultRowEntryInfo;
|
||||||
|
|
||||||
|
|
|
@ -656,7 +656,7 @@ SOperatorInfo* createStreamScanOperatorInfo(void* streamReadHandle, SSDataBlock*
|
||||||
SArray* pColIds = taosArrayInit(4, sizeof(int16_t));
|
SArray* pColIds = taosArrayInit(4, sizeof(int16_t));
|
||||||
for (int32_t i = 0; i < numOfOutput; ++i) {
|
for (int32_t i = 0; i < numOfOutput; ++i) {
|
||||||
SColMatchInfo* id = taosArrayGet(pColList, i);
|
SColMatchInfo* id = taosArrayGet(pColList, i);
|
||||||
int16_t colId = id->colId;
|
int16_t colId = id->colId;
|
||||||
taosArrayPush(pColIds, &colId);
|
taosArrayPush(pColIds, &colId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue