提交 dac871e8 编写于 作者: Z zeminzhou 提交者: wangzelin.wzl

fix bug (#180)

上级 5f63a878
...@@ -32,9 +32,9 @@ int ObSortOpImpl::Compare::init( ...@@ -32,9 +32,9 @@ int ObSortOpImpl::Compare::init(
if (nullptr == sort_collations || nullptr == sort_cmp_funs) { if (nullptr == sort_collations || nullptr == sort_cmp_funs) {
ret = OB_INVALID_ARGUMENT; ret = OB_INVALID_ARGUMENT;
LOG_WARN("invalid argument", K(ret), KP(sort_collations), KP(sort_cmp_funs)); LOG_WARN("invalid argument", K(ret), KP(sort_collations), KP(sort_cmp_funs));
} else if (sort_cmp_funs->count() != sort_cmp_funs->count()) { } else if (sort_collations->count() != sort_cmp_funs->count()) {
ret = OB_INVALID_ARGUMENT; ret = OB_INVALID_ARGUMENT;
LOG_WARN("column count miss match", K(ret), K(sort_cmp_funs->count()), K(sort_cmp_funs->count())); LOG_WARN("column count miss match", K(ret), K(sort_collations->count()), K(sort_cmp_funs->count()));
} else { } else {
sort_collations_ = sort_collations; sort_collations_ = sort_collations;
sort_cmp_funs_ = sort_cmp_funs; sort_cmp_funs_ = sort_cmp_funs;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册