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);
|
tsdbTbDataIterNext(pIter);
|
||||||
pRow = tsdbTbDataIterGet(pIter);
|
pRow = tsdbTbDataIterGet(pIter);
|
||||||
if (pRow) {
|
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) {
|
if (c == 0) {
|
||||||
code =
|
code =
|
||||||
|
|
Loading…
Reference in New Issue