fix a bug
This commit is contained in:
parent
8d00f1139a
commit
40d34bf894
|
@ -637,7 +637,8 @@ static int32_t tsdbMergeAsSubBlock(SCommitter *pCommitter, STbDataIter *pIter, S
|
|||
tsdbTbDataIterNext(pIter);
|
||||
pRow = tsdbTbDataIterGet(pIter);
|
||||
if (pRow) {
|
||||
int32_t c = tBlockCmprFn(&(SBlock){}, pBlock);
|
||||
TSDBKEY key = TSDBROW_KEY(pRow);
|
||||
int32_t c = tBlockCmprFn(&(SBlock){.minKey = key, .maxKey = key}, pBlock);
|
||||
|
||||
if (c == 0) {
|
||||
code =
|
||||
|
|
Loading…
Reference in New Issue