summaryrefslogtreecommitdiff
path: root/sql-bench/example
diff options
context:
space:
mode:
authorOleg Smirnov <olernov@gmail.com>2023-01-12 13:18:33 +0700
committerJan Lindström <jan.lindstrom@mariadb.com>2023-01-20 11:40:01 +0200
commitb2b9d91668ca7af9bbed95c5b3f502c39c9020af (patch)
treecda834e14054766cf9ece74162c2ab4b3e387c57 /sql-bench/example
parenteea9f2a1e7089f2b06faaabfedad0690b561f2ce (diff)
downloadmariadb-git-b2b9d91668ca7af9bbed95c5b3f502c39c9020af.tar.gz
MDEV-29294 Assertion `functype() == ((Item_cond *) new_item)->functype()' failed in Item_cond::remove_eq_conds on SELECT
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-bench/example')
0 files changed, 0 insertions, 0 deletions