suppress compiler warnings
This commit is contained in:
parent
bb76898957
commit
1fb55adec4
|
@ -2110,7 +2110,6 @@ static void copyTopBotRes(SQLFunctionCtx *pCtx, int32_t type) {
|
|||
TSKEY *output = pCtx->ptsOutputBuf;
|
||||
for (int32_t i = 0; i < len; ++i, output += step) {
|
||||
*output = tvp[i]->timestamp;
|
||||
printf("-------------%lld\n", *output);
|
||||
}
|
||||
|
||||
// set the corresponding tag data for each record
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "tstoken.h"
|
||||
#include "tstrbuild.h"
|
||||
#include "ttime.h"
|
||||
#include "tast.h"
|
||||
|
||||
#include "tscSQLParser.h"
|
||||
#include "tscUtil.h"
|
||||
|
|
|
@ -468,8 +468,8 @@ int32_t compare_a(tOrderDescriptor *pDescriptor, int32_t numOfRows1, int32_t s1,
|
|||
return ret;
|
||||
}
|
||||
} else {
|
||||
SSchema *pSchema = &pDescriptor->pColumnModel->pFields[colIdx];
|
||||
int32_t ret = columnValueAscendingComparator(f1, f2, pSchema->type, pSchema->bytes);
|
||||
SSchemaEx *pSchema = &pDescriptor->pColumnModel->pFields[colIdx];
|
||||
int32_t ret = columnValueAscendingComparator(f1, f2, pSchema->field.type, pSchema->field.bytes);
|
||||
if (ret == 0) {
|
||||
continue;
|
||||
} else {
|
||||
|
@ -500,8 +500,8 @@ int32_t compare_d(tOrderDescriptor *pDescriptor, int32_t numOfRows1, int32_t s1,
|
|||
return ret;
|
||||
}
|
||||
} else {
|
||||
SSchema *pSchema = &pDescriptor->pColumnModel->pFields[colIdx];
|
||||
int32_t ret = columnValueAscendingComparator(f1, f2, pSchema->type, pSchema->bytes);
|
||||
SSchemaEx *pSchema = &pDescriptor->pColumnModel->pFields[colIdx];
|
||||
int32_t ret = columnValueAscendingComparator(f1, f2, pSchema->field.type, pSchema->field.bytes);
|
||||
if (ret == 0) {
|
||||
continue;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue