[td-225] fix invalid read.

This commit is contained in:
Haojun Liao 2020-08-08 13:44:26 +08:00
parent 3c27860216
commit a945922c67
1 changed files with 2 additions and 1 deletions

View File

@ -689,7 +689,8 @@ static void tQueryIndexlessColumn(SSkipList* pSkipList, tQueryInfo* pQueryInfo,
}
if (addToResult) {
taosArrayPush(res, pData);
STableKeyInfo info = {.pTable = *(void**)pData, .lastKey = -1};
taosArrayPush(res, &info);
}
}