fix(stream): return after get value.
This commit is contained in:
parent
b29e1c2b0d
commit
f3cfd297b8
|
@ -5280,8 +5280,8 @@ int32_t tsdbRetrieveDataBlock2(STsdbReader* pReader, SSDataBlock** pBlock, SArra
|
|||
if (pStatus->composedDataBlock || pReader->info.execMode == READER_EXEC_ROWS) {
|
||||
// tsdbReaderSuspend2(pReader);
|
||||
// tsdbReaderResume2(pReader);
|
||||
|
||||
*pBlock = pTReader->resBlockInfo.pResBlock;
|
||||
return TSDB_CODE_SUCCESS;
|
||||
}
|
||||
|
||||
int32_t code = doRetrieveDataBlock(pTReader, pBlock);
|
||||
|
|
|
@ -120,7 +120,8 @@ endi
|
|||
if $data01 != 2 then
|
||||
return -1
|
||||
endi
|
||||
if $data02 != 1 then
|
||||
if $data02 != 1 then
|
||||
print expect 1 , actual $data02
|
||||
return -1
|
||||
endi
|
||||
if $data03 != 1 then
|
||||
|
|
Loading…
Reference in New Issue