fix compile error on windows
This commit is contained in:
parent
9be6fb9b1e
commit
92db1ea6e8
|
@ -4400,7 +4400,7 @@ static void freeTableBlockDist(STableBlockDist *pTableBlockDist) {
|
||||||
free(pTableBlockDist);
|
free(pTableBlockDist);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static int32_t getPercentileFromSortedArray(const SArray* pArray, float rate) {
|
static int32_t getPercentileFromSortedArray(const SArray* pArray, double rate) {
|
||||||
int32_t len = (int32_t)taosArrayGetSize(pArray);
|
int32_t len = (int32_t)taosArrayGetSize(pArray);
|
||||||
if (len <= 0) {
|
if (len <= 0) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue