add test cases

This commit is contained in:
Ganlin Zhao 2023-04-11 15:47:27 +08:00
parent bbae7259cf
commit 0201348bbe
1 changed files with 2 additions and 2 deletions

View File

@ -484,8 +484,8 @@ int32_t addTagPseudoColumnData(SReadHandle* pHandle, const SExprInfo* pExpr, int
int32_t code = 0;
// backup the rows
int32_t backupRows = (rows == 1) ? rows : pBlock->info.rows;
pBlock->info.rows = rows;
int32_t backupRows = pBlock->info.rows;
pBlock->info.rows = (rows < pBlock->info.rows) ? pBlock->info.rows : rows;
bool freeReader = false;
STableCachedVal val = {0};