1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-25 17:25:02 +03:00
Files
mariadb/sql
Igor Babaev d03581bf3c MDEV-17360 Server crashes in optimize_keyuse
This was a bug in the code of MDEV-12387 "Push conditions into materialized
subqueries". The bug manifested itself in rather rare situations. An
affected query must contain IN subquery predicate whose left operand
was an outer field of a mergeable derived table or view and right operand
was a materialized subquery.
The erroneous code in fact stripped off the Item_direct_ref wrapper from
the left operand of the IN subquery predicate when building equalities
produced by the conversion of the predicate into a semi-join. As a result
the left operand was not considered as an outer reference anymore and
used_tables() was calculated incorrectly. This caused a crash in the
function optimize_keyuse().
2018-10-07 12:18:38 -07:00
..
2018-09-10 16:47:44 +04:00
2018-10-05 08:09:49 +03:00
2018-04-20 18:29:18 +04:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-08-07 10:48:42 +04:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-08-28 12:22:56 +03:00
2018-09-06 22:45:19 +02:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-04-23 09:49:58 +03:00
2018-05-01 16:52:19 +03:00
2018-05-29 17:34:49 +03:00
2018-08-28 12:22:56 +03:00
2018-08-07 10:48:42 +04:00
2018-10-05 10:33:50 +01:00
2018-08-03 15:57:23 +03:00
2018-08-28 12:22:56 +03:00
2018-10-05 08:09:49 +03:00
2018-08-28 12:22:56 +03:00
2018-09-17 18:50:21 -07:00
2018-04-24 20:59:57 +03:00
2018-04-24 12:48:27 +03:00
2018-09-11 21:31:03 +03:00
2018-06-04 12:32:23 +02:00
2018-06-30 16:39:20 +02:00
2018-06-30 16:39:20 +02:00
2018-09-06 22:45:19 +02:00
2018-06-04 12:32:23 +02:00
2018-09-28 16:37:06 +02:00
2018-05-01 16:52:19 +03:00
2018-10-05 08:09:49 +03:00
2018-08-07 10:48:42 +04:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-04-29 17:53:21 +03:00
2018-07-13 20:14:27 +03:00
2018-10-05 08:09:49 +03:00
2018-05-11 13:15:10 +02:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-05-12 10:16:45 +02:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-08-03 14:37:55 +02:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-04-29 17:53:21 +03:00
2018-08-21 15:20:34 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-06-30 16:39:20 +02:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-05-29 17:34:49 +03:00
2018-10-05 08:09:49 +03:00
2018-06-03 10:34:41 -07:00
2018-09-11 21:31:03 +03:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-05-12 22:14:59 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-09-11 21:31:03 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-08-03 15:57:23 +03:00
2018-04-24 12:48:27 +03:00
2018-05-12 10:16:45 +02:00
2018-08-03 15:57:23 +03:00
2018-09-28 16:37:06 +02:00
2018-09-28 16:37:06 +02:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-06-21 23:47:39 +02:00
2018-09-28 16:37:06 +02:00
2018-09-14 08:47:22 +02:00
2018-09-06 22:35:45 +03:00
2018-09-28 16:37:06 +02:00
2018-08-03 15:57:23 +03:00