From 0ec1c52a190aa6197b5f3addf83b0492e45e4f88 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 25 Aug 2022 16:34:00 +0800 Subject: [PATCH] fix(query): set ascending order of check last block. --- source/dnode/vnode/src/tsdb/tsdbRead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/vnode/src/tsdb/tsdbRead.c b/source/dnode/vnode/src/tsdb/tsdbRead.c index 479e552545..ff0df3a7e2 100644 --- a/source/dnode/vnode/src/tsdb/tsdbRead.c +++ b/source/dnode/vnode/src/tsdb/tsdbRead.c @@ -2309,7 +2309,7 @@ static int32_t uidComparFunc(const void* p1, const void* p2) { if (pu1 == pu2) { return 0; } else { - return (pu1 > pu2)? -1:1; + return (pu1 < pu2)? -1:1; } } -- GitLab