未验证 提交 b7200f37 编写于 作者: D dapan1121 提交者: GitHub

Merge pull request #7687 from taosdata/hotfix/TD-6439

[td-6439]fix order by crash issue
......@@ -5522,7 +5522,9 @@ static SSDataBlock* doSort(void* param, bool* newgroup) {
}
__compar_fn_t comp = getKeyComparFunc(pSchema[pInfo->colIndex].type, pInfo->order);
if (pInfo->pDataBlock->info.rows) {
taoscQSort(pCols, pSchema, numOfCols, pInfo->pDataBlock->info.rows, pInfo->colIndex, comp);
}
tfree(pCols);
tfree(pSchema);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册