提交 288b50ae 编写于 作者: wmmhello's avatar wmmhello

fix error in sort logic

上级 4cc93f99
...@@ -178,11 +178,11 @@ int32_t docomp(const void* p1, const void* p2, void* param) { ...@@ -178,11 +178,11 @@ int32_t docomp(const void* p1, const void* p2, void* param) {
} }
if (rightNull) { if (rightNull) {
return pParam->nullFirst? 1:-1; return pOrder->nullFirst? 1:-1;
} }
if (leftNull) { if (leftNull) {
return pParam->nullFirst? -1:1; return pOrder->nullFirst? -1:1;
} }
void* left1 = colDataGetData(pLeftColInfoData, pLeftSource->src.rowIndex); void* left1 = colDataGetData(pLeftColInfoData, pLeftSource->src.rowIndex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册