diff options
author | Galina Shalygina <galina.shalygina@mariadb.com> | 2018-02-14 00:19:38 +0200 |
---|---|---|
committer | Galina Shalygina <galina.shalygina@mariadb.com> | 2018-02-14 00:25:08 +0200 |
commit | a07b81fc38a43a1f917165b3c1e113b3fadac4c0 (patch) | |
tree | 48f028e3b38e91e30ef8b18210a0d979aa35d693 /client/mysqlcheck.c | |
parent | ba125eca551e3f5faee9f6d7ebed290f04cfc8fd (diff) | |
download | mariadb-git-bb-10.3-mdev14835.tar.gz |
MDEV-14835 Server crashes in Field_iterator_table::create_item when number ofbb-10.3-mdev14835
elements of BIGINT or YEAR type in the IN list reaches in_predicate_conversion_threshold
The bug appears at the prepare stage when IN-predicate with the long list
of values is converted into IN-subquery. It happens because values in the
right operand of the IN-predicate that have BIGINT or YEAR types are converted
into the Item_int_with_ref.
To fix it in the procedure Item_func_in::create_value_list_for_tvc
real_item() is taken for each value in the right operand of the IN-predicate.
Diffstat (limited to 'client/mysqlcheck.c')
0 files changed, 0 insertions, 0 deletions