提交 d661796a 编写于 作者: L Larry955 提交者: ob-robot

fix query range incorrect precise get bug

上级 1968d98d
......@@ -1227,8 +1227,10 @@ bool ObQueryRange::is_precise_get(const ObKeyPart &key_part_head,
if (cur->in_keypart_->is_strict_in_ &&
cur->in_keypart_->get_min_offset() == (++depth)) {
depth = cur->in_keypart_->get_max_offset();
is_precise_get = (cur->in_keypart_->is_in_precise_get() &&
cur->item_next_ == NULL);
if (is_precise_get) {
is_precise_get = (cur->in_keypart_->is_in_precise_get() &&
cur->or_next_ == NULL && cur->item_next_ == NULL);
}
} else {
is_precise_get = false;
max_pos = cur->in_keypart_->get_min_offset();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册