summaryrefslogtreecommitdiff
path: root/zlib/zlib2ansi
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 /zlib/zlib2ansi
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 'zlib/zlib2ansi')
0 files changed, 0 insertions, 0 deletions