Merge pull request #14034 from taosdata/fix/TD-16546

fix(query): change numOfRes from uint8_t to uint16_t to accomadate sample function max 1000 results.
This commit is contained in:
Ganlin Zhao 2022-06-21 09:57:16 +08:00 committed by GitHub
commit 0bab2091b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ typedef struct SResultRowEntryInfo {
bool initialized:1; // output buffer has been initialized
bool complete:1; // query has completed
uint8_t isNullRes:6; // the result is null
uint8_t numOfRes; // num of output result in current buffer
uint16_t numOfRes; // num of output result in current buffer
} SResultRowEntryInfo;
// determine the real data need to calculated the result