summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorOleg Smirnov <olernov@gmail.com>2023-01-12 13:18:33 +0700
committerOleg Smirnov <olernov@gmail.com>2023-01-20 13:19:16 +0700
commitb55ec2d5b4f31e32e7ca65734025b3b43f6e984b (patch)
tree3cc889aad93f405fe1ed7f73433f497d165811ec /sql/item_sum.h
parent6fe882cd85aee487c0534e6399ebd16c1ad2cab4 (diff)
downloadmariadb-git-bb-10.3-MDEV-29294.tar.gz
MDEV-29294 Assertion `functype() == ((Item_cond *) new_item)->functype()' failed in Item_cond::remove_eq_conds on SELECTbb-10.3-MDEV-29294
Item_singlerow_subselect may be converted to Item_cond during optimization. So there is a possibility of constructing nested Item_cond_and or Item_cond_or which is not allowed (such conditions must be flattened). This commit checks if such kind of optimization has been applied and flattens the condition if needed
Diffstat (limited to 'sql/item_sum.h')
0 files changed, 0 insertions, 0 deletions