diff options
author | Igor Babaev <igor@askmonty.org> | 2018-10-14 15:20:25 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2018-10-14 15:29:08 -0700 |
commit | 103b1df510599255f464de5c85a8b0ab1bb1283e (patch) | |
tree | 60f6734ab43ae53f259337195d0bb1a4c5b8d821 /sql/item_windowfunc.h | |
parent | 74387028a06c557f36a0fd1bbde347f1551c8fb7 (diff) | |
download | mariadb-git-103b1df510599255f464de5c85a8b0ab1bb1283e.tar.gz |
MDEV-17222 Reproducible server crash in String_list::append_str or
in Field_iterator_table::create_item
When IN predicate is converted to IN subquery we have to ensure that
any item from the select list of the subquery has some name and this name
is unique across the select list.
This was not guaranteed by the code before the patch for MDEV-17222.
If the name of an item of the select list was not set, and this happened
for binary constants, then the server crashed. If the first row in the IN
list contained the same constant in two different positions then the server
returned an error message.
This was fixed by providing all constants in the first row of the IN list
with generated names.
Diffstat (limited to 'sql/item_windowfunc.h')
0 files changed, 0 insertions, 0 deletions