drop comment debug test information

This commit is contained in:
tickduan 2021-07-21 14:51:20 +08:00
parent 8534238eba
commit da2489dc2e
2 changed files with 1 additions and 9 deletions

View File

@ -1,7 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8...3.20)
PROJECT(TDengine)
IF (TD_ACCOUNT)
ADD_DEFINITIONS(-D_ACCT)
ENDIF ()

View File

@ -233,15 +233,8 @@ static FORCE_INLINE int tsCompressFloat(const char *const input, int inputSize,
if (algorithm == ONE_STAGE_COMP) {
return tsCompressFloatImp(input, nelements, output);
} else if (algorithm == TWO_STAGE_COMP) {
//cost_start();
int len = tsCompressFloatImp(input, nelements, buffer);
//cost_end(" td_first_compress");
//show_rate(inputSize, len);
//cost_start();
int ret = tsCompressStringImp(buffer, len, output, outputSize);
//cost_end(" td_second_compress");
//show_rate(inputSize, ret);
return ret;
return tsCompressStringImp(buffer, len, output, outputSize);
} else {
assert(0);
return -1;