From a945922c67f60af866cea10bb82dd298279f2c7a Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 8 Aug 2020 13:44:26 +0800 Subject: [PATCH] [td-225] fix invalid read. --- src/query/src/qAst.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/query/src/qAst.c b/src/query/src/qAst.c index 44051c7e3b..05df8d95ba 100644 --- a/src/query/src/qAst.c +++ b/src/query/src/qAst.c @@ -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); } }