Varun Gupta
409dddf695
MDEV-18300: ASAN error in Field_blob::get_key_image upon UPDATE with subquery
...
For single table updates and multi-table updates , engine independent statistics were not being
read even if the statistics were collected.
Fixed it, so when the optimizer_use_condition_selectivity > 2 then we would read the available
statistics for update queries.
2019-04-11 13:05:01 +05:30
Sergei Golubchik
d4df7bc9b1
Merge branch 'github/10.0' into 10.1
2018-02-02 10:09:44 +01:00
Oleksandr Byelkin
96cb428b35
MDEV-14862: Server crashes in Bitmap<64u>::merge / add_key_field
...
Do not unwrap view references to keep table info.
(Row-IN subselect does not unwrap items so it does not need fix)
2018-02-01 16:12:14 +01:00
Elena Stepanova
66822f164f
Follow-up to MDEV-10731 - fix the broken test
2017-02-11 01:14:06 +02:00
Varun Gupta
c2b217e243
MDEV-10731: Wrong NULL match results in "Subquery returns more than 1 row" (error code 1242)
...
NOT NULL predicate was not added to tables in case of an update query having a subquery.
2017-02-09 23:49:23 +05:30
Oleksandr Byelkin
6264451f25
MDEV-8114: server crash on updates with joins still on 10.0.18
...
Check that leaf table list is really built before storing it.
2015-06-06 16:13:51 +02:00