Skip to content

Commit

Permalink
Merge pull request #21743 from taosdata/fix/td-24784
Browse files Browse the repository at this point in the history
fix: cleanup datablock so that varmeta length is right
  • Loading branch information
dapan1121 authored Jun 16, 2023
2 parents 01b1cfe + b7165da commit 9a3781e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/libs/executor/src/sysscanoperator.c
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,8 @@ static SSDataBlock* doSysTableScan(SOperatorInfo* pOperator) {
SSysTableScanInfo* pInfo = pOperator->info;
char dbName[TSDB_DB_NAME_LEN] = {0};

blockDataCleanup(pInfo->pRes);

const char* name = tNameGetTableName(&pInfo->name);
if (pInfo->showRewrite) {
getDBNameFromCondition(pInfo->pCondition, dbName);
Expand Down

0 comments on commit 9a3781e

Please sign in to comment.