fix some compile error
This commit is contained in:
parent
c1b456bed5
commit
23fc7d36e2
|
@ -16,6 +16,8 @@
|
||||||
#ifndef TDENGINE_COMMON_GLOBAL_H
|
#ifndef TDENGINE_COMMON_GLOBAL_H
|
||||||
#define TDENGINE_COMMON_GLOBAL_H
|
#define TDENGINE_COMMON_GLOBAL_H
|
||||||
|
|
||||||
|
#include "taosdef.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -763,10 +763,10 @@ static int tsdbWriteBlock(SCommitH *pCommith, SDFile *pDFile, SDataCols *pDataCo
|
||||||
|
|
||||||
pBlockCol->colId = pDataCol->colId;
|
pBlockCol->colId = pDataCol->colId;
|
||||||
pBlockCol->type = pDataCol->type;
|
pBlockCol->type = pDataCol->type;
|
||||||
if (tDataTypes[pDataCol->type].getStatisFunc) {
|
if (tDataTypes[pDataCol->type].statisFunc) {
|
||||||
(*tDataTypes[pDataCol->type].getStatisFunc)(pDataCol->pData, rowsToWrite, &(pBlockCol->min), &(pBlockCol->max),
|
(*tDataTypes[pDataCol->type].statisFunc)(pDataCol->pData, rowsToWrite, &(pBlockCol->min), &(pBlockCol->max),
|
||||||
&(pBlockCol->sum), &(pBlockCol->minIndex), &(pBlockCol->maxIndex),
|
&(pBlockCol->sum), &(pBlockCol->minIndex), &(pBlockCol->maxIndex),
|
||||||
&(pBlockCol->numOfNull));
|
&(pBlockCol->numOfNull));
|
||||||
}
|
}
|
||||||
nColsNotAllNull++;
|
nColsNotAllNull++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue