Merge pull request #17634 from taosdata/fix/TD-19794-V30

fix(util):  improve coverage rate with removing no reference function
This commit is contained in:
Shengliang Guan 2022-10-25 18:25:32 +08:00 committed by GitHub
commit a2ceb04c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -371,6 +371,7 @@ int32_t tsDecompressBoolImp(const char *const input, const int32_t nelements, ch
return nelements;
}
#if 0
/* Run Length Encoding(RLE) Method */
int32_t tsCompressBoolRLEImp(const char *const input, const int32_t nelements, char *const output) {
int32_t _pos = 0;
@ -419,6 +420,7 @@ int32_t tsDecompressBoolRLEImp(const char *const input, const int32_t nelements,
}
}
}
#endif
/* ----------------------------------------------String Compression
* ---------------------------------------------- */

View File

@ -183,6 +183,7 @@ void tdigestAdd(TDigest *t, double x, int64_t w) {
if (t->num_buffered_pts >= t->threshold) tdigestCompress(t);
}
#if 0
double tdigestCDF(TDigest *t, double x) {
if (t == NULL) return 0;
@ -233,6 +234,7 @@ double tdigestCDF(TDigest *t, double x) {
return 1;
}
#endif
double tdigestQuantile(TDigest *t, double q) {
if (t == NULL) return 0;