From a09dcbdd85fd343f49963d561bc3c805bd2479d4 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Mon, 29 Nov 2021 10:59:51 +0800 Subject: [PATCH] update fst core struct --- source/libs/index/src/index_fst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/index/src/index_fst.c b/source/libs/index/src/index_fst.c index f9cb68baa9..1ee364d4ad 100644 --- a/source/libs/index/src/index_fst.c +++ b/source/libs/index/src/index_fst.c @@ -1026,10 +1026,10 @@ bool fstVerify(Fst *fst) { uint32_t checkSum = fst->meta->checkSum; FstSlice *data = fst->data; TSCKSUM initSum = 0; - if (taosCheckChecksumWhole(data->data, data->dLen)) { + if (!taosCheckChecksumWhole(data->data, data->dLen)) { return false; } - + return true; }