diff options
author | Oleg Smirnov <olernov@gmail.com> | 2023-01-12 13:18:33 +0700 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2023-01-20 11:40:01 +0200 |
commit | b2b9d91668ca7af9bbed95c5b3f502c39c9020af (patch) | |
tree | cda834e14054766cf9ece74162c2ab4b3e387c57 /libmysqld | |
parent | eea9f2a1e7089f2b06faaabfedad0690b561f2ce (diff) | |
download | mariadb-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 'libmysqld')
0 files changed, 0 insertions, 0 deletions