coverage: isRowEntryCompleted had been called 5200w hits
This commit is contained in:
parent
9d4a75b0be
commit
1fa6cb8f69
|
@ -237,9 +237,9 @@ struct SScalarParam {
|
||||||
int32_t numOfQualified; // number of qualified elements in the final results
|
int32_t numOfQualified; // number of qualified elements in the final results
|
||||||
};
|
};
|
||||||
|
|
||||||
void cleanupResultRowEntry(struct SResultRowEntryInfo *pCell);
|
#define cleanupResultRowEntry(p) p->initialized = false
|
||||||
bool isRowEntryCompleted(struct SResultRowEntryInfo *pEntry);
|
#define isRowEntryCompleted(p) (p->complete)
|
||||||
bool isRowEntryInitialized(struct SResultRowEntryInfo *pEntry);
|
#define isRowEntryInitialized(p) (p->initialized)
|
||||||
|
|
||||||
typedef struct SPoint {
|
typedef struct SPoint {
|
||||||
int64_t key;
|
int64_t key;
|
||||||
|
|
|
@ -28,8 +28,6 @@
|
||||||
#include "ttszip.h"
|
#include "ttszip.h"
|
||||||
#include "tudf.h"
|
#include "tudf.h"
|
||||||
|
|
||||||
void cleanupResultRowEntry(struct SResultRowEntryInfo* pCell) { pCell->initialized = false; }
|
|
||||||
|
|
||||||
int32_t getNumOfResult(SqlFunctionCtx* pCtx, int32_t num, SSDataBlock* pResBlock) {
|
int32_t getNumOfResult(SqlFunctionCtx* pCtx, int32_t num, SSDataBlock* pResBlock) {
|
||||||
int32_t maxRows = 0;
|
int32_t maxRows = 0;
|
||||||
|
|
||||||
|
@ -59,9 +57,3 @@ int32_t getNumOfResult(SqlFunctionCtx* pCtx, int32_t num, SSDataBlock* pResBlock
|
||||||
pResBlock->info.rows = maxRows;
|
pResBlock->info.rows = maxRows;
|
||||||
return maxRows;
|
return maxRows;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isRowEntryCompleted(struct SResultRowEntryInfo* pEntry) {
|
|
||||||
return pEntry->complete;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isRowEntryInitialized(struct SResultRowEntryInfo* pEntry) { return pEntry->initialized; }
|
|
||||||
|
|
Loading…
Reference in New Issue