From 0bac4edac87904799a2febe5fe9f920500caaf64 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Mon, 18 Jan 2021 02:45:23 +0000 Subject: [PATCH] make it compile --- src/query/tests/percentileTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/tests/percentileTest.cpp b/src/query/tests/percentileTest.cpp index 0c24202bdb..f2b457e7dd 100644 --- a/src/query/tests/percentileTest.cpp +++ b/src/query/tests/percentileTest.cpp @@ -43,7 +43,7 @@ tMemBucket *createDoubleDataBucket(int32_t start, int32_t end) { } tMemBucket *createUnsignedDataBucket(int32_t start, int32_t end, int32_t type) { - tMemBucket *pBucket = tMemBucketCreate(tDataTypes[type].nSize, type, start, end); + tMemBucket *pBucket = tMemBucketCreate(tDataTypes[type].bytes, type, start, end); for (int32_t i = start; i <= end; ++i) { uint64_t k = i; int32_t ret = tMemBucketPut(pBucket, &k, 1); -- GitLab