fix: build error
This commit is contained in:
parent
4a4e778a6a
commit
20cded7d6e
|
@ -54,9 +54,10 @@ extern "C" {
|
|||
#ifdef TD_TSZ
|
||||
extern bool lossyFloat;
|
||||
extern bool lossyDouble;
|
||||
int32_t tsCompressInit(char* lossyColumns, double fPrecision, double dPrecision, unsigned int32_t maxIntervals,
|
||||
unsigned int32_t intervals, int32_t intervals, const char* compressor);
|
||||
void tsCompressExit();
|
||||
int32_t tsCompressInit(char* lossyColumns, double fPrecision, double dPrecision, uint32_t maxIntervals, uint32_t intervals,
|
||||
int32_t ifAdtFse, const char* compressor);
|
||||
|
||||
void tsCompressExit();
|
||||
|
||||
int32_t tsCompressFloatLossyImp(const char *const input, const int32_t nelements, char *const output);
|
||||
int32_t tsDecompressFloatLossyImp(const char *const input, int32_t compressedSize, const int32_t nelements, char *const output);
|
||||
|
|
|
@ -70,8 +70,8 @@ bool lossyFloat = false;
|
|||
bool lossyDouble = false;
|
||||
|
||||
// init call
|
||||
int32_t tsCompressInit(char* lossyColumns, double fPrecision, double dPrecision, unsigned int32_t maxIntervals,
|
||||
unsigned int32_t intervals, int32_t intervals, const char* compressor)
|
||||
int32_t tsCompressInit(char* lossyColumns, double fPrecision, double dPrecision, uint32_t maxIntervals, uint32_t intervals,
|
||||
int32_t ifAdtFse, const char* compressor) {
|
||||
// config
|
||||
if (lossyColumns[0] == 0) {
|
||||
lossyFloat = false;
|
||||
|
@ -84,7 +84,7 @@ int32_t tsCompressInit(char* lossyColumns, double fPrecision, double dPrecision,
|
|||
|
||||
if (lossyFloat == false && lossyDouble == false) return 0;
|
||||
|
||||
tdszInit(fPrecision, dPrecision, maxIntervals, intervals, intervals, compressor);
|
||||
tdszInit(fPrecision, dPrecision, maxIntervals, intervals, ifAdtFse, compressor);
|
||||
if (lossyFloat) uTrace("lossy compression float is opened. ");
|
||||
if (lossyDouble) uTrace("lossy compression double is opened. ");
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue