提交 affa5731 编写于 作者: O obdev 提交者: wangzelin.wzl

[CP] fix case compare bug

上级 d63d51a1
......@@ -632,7 +632,7 @@ int ObQueryCtx::append_id_to_stmt_name(char* buf, int64_t buf_len, int64_t& pos,
} else {
bool find_dup = false;
for (int64_t i = 0; !find_dup && i < stmt_id_name_map_.count(); ++i) {
if (0 == stmt_id_name_map_.at(i).origin_name_.case_compare(buf)) {
if (0 == stmt_id_name_map_.at(i).origin_name_.case_compare(ObString(pos, buf))) {
find_dup = true;
} else {
} // do nothing
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册