update fst core struct

This commit is contained in:
yihaoDeng 2021-11-29 10:59:51 +08:00
parent 32ac2d02c8
commit a09dcbdd85
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}