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-17 14:37:39 +03:00
2018-10-05 10:33:50 +01:00
2018-09-10 16:47:44 +04:00
2018-05-07 00:07:32 +03:00
2018-05-07 00:07:32 +03:00
2018-05-07 00:07:32 +03:00
2018-05-07 00:07:32 +03:00
2018-05-07 00:07:32 +03:00
2018-09-28 14:01:17 +04:00
2018-05-07 13:49:14 +03:00
2018-09-28 14:01:17 +04:00
2018-10-05 08:09:49 +03:00
2018-04-20 18:29:18 +04:00
2018-09-28 14:01:17 +04:00
2018-10-05 08:09:49 +03:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 16:37:06 +02:00
2018-09-16 10:22:32 +04:00
2018-09-28 16:37:06 +02:00
2018-09-16 10:22:32 +04:00
2018-05-07 00:07:32 +03:00
2018-06-08 14:30:04 +01:00
2018-05-27 19:47:17 +03:00
2018-10-05 08:09:49 +03:00
2018-09-21 15:05:54 +02:00
2018-05-07 00:07:32 +03:00
2018-10-05 09:29:22 +01:00
2018-10-05 09:29:22 +01:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-05-07 00:07:32 +03:00
2018-10-05 09:29:22 +01:00
2018-08-07 10:48:42 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-08-24 17:00:32 +05:30
2018-07-24 12:00:17 +04:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-07-13 20:14:27 +03:00
2018-07-03 14:02:05 +04:00
2018-05-07 00:07:32 +03:00
2018-06-19 14:51:50 +02:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-06-27 14:48:03 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-10-05 08:09:49 +03:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-09-28 14:01:17 +04:00
2018-07-03 14:02:05 +04:00
2018-06-19 14:51:50 +02: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-04-30 14:24:48 +03:00
2018-09-06 22:45:19 +02:00
2018-05-07 00:07:32 +03:00
2018-05-12 10:16:45 +02:00
2018-10-05 08:09:49 +03:00
2018-05-07 00:07:32 +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-05-07 00:07:32 +03:00
2018-08-28 12:22:56 +03:00
2018-08-07 10:48:42 +04:00
2018-09-28 14:01:17 +04:00
2018-06-30 16:39:20 +02:00
2018-06-30 16:39:20 +02:00
2018-10-05 10:33:50 +01: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-10-07 12:18:38 -07:00
2018-05-15 23:45:59 +02:00
2018-06-04 12:32:23 +02:00
2018-07-04 19:13:55 +02:00
2018-05-07 00:07:32 +03:00
2018-05-14 16:30:25 -07:00
2018-09-28 14:01:17 +04:00
2018-04-24 20:59:57 +03:00
2018-04-24 12:48:27 +03:00
2018-09-28 14:01:17 +04:00
2018-09-11 21:31:03 +03:00
2018-05-12 10:16:45 +02:00
2018-05-12 10:16:45 +02:00
2018-09-07 22:15:06 +03:00
2018-05-07 00:07:32 +03:00
2018-06-04 12:32:23 +02:00
2018-04-19 16:04:23 +05:30
2018-05-27 19:47:17 +03:00
2018-06-04 12:32:23 +02:00
2018-05-18 20:32:57 +03:00
2018-04-20 18:11:27 +04:00
2018-08-12 11:37:42 +02:00
2018-05-07 00:07:32 +03:00
2018-07-26 10:54:13 +03:00
2018-07-04 19:13:55 +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-07-04 19:13:55 +02:00
2018-07-04 19:13:55 +02:00
2018-06-28 16:55:42 +04:00
2018-06-04 12:32:23 +02:00
2018-05-21 16:34:11 +00:00
2018-05-07 00:07:32 +03:00
2018-09-28 16:37:06 +02:00
2018-05-18 08:22:41 +05:30
2018-08-02 11:44:02 +03:00
2018-05-01 16:52:19 +03:00
2018-10-05 08:09:49 +03:00
2018-06-30 16:12:45 +02:00
2018-08-07 10:48:42 +04:00
2018-06-30 16:39:20 +02:00
2018-05-07 00:07:32 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-10-01 12:34:03 +04:00
2018-06-04 12:32:23 +02:00
2018-04-29 17:53:21 +03:00
2018-07-13 20:14:27 +03:00
2018-09-28 14:01:17 +04:00
2018-10-05 08:09:49 +03:00
2018-05-11 13:15:10 +02:00
2018-04-12 12:41:19 +03: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-06-08 14:30:04 +01:00
2018-07-04 19:13:55 +02:00
2018-07-04 19:13:55 +02:00
2018-09-28 16:37:06 +02:00
2018-08-03 14:37:55 +02:00
2018-05-07 00:07:32 +03:00
2018-06-05 10:25:39 +04:00
2018-07-03 14:02:05 +04:00
2018-05-16 09:44:22 +04:00
2018-07-04 19:13:55 +02:00
2018-08-02 11:44:02 +03:00
2018-05-27 19:47:17 +03: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-07-04 19:13:55 +02:00
2018-10-05 08:09:49 +03:00
2018-08-02 13:13:21 +03:00
2018-07-04 19:13:55 +02:00
2018-10-05 08:09:49 +03:00
2018-09-28 16:37:06 +02:00
2018-10-02 13:42:44 +04: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-07-04 19:13:55 +02:00
2018-07-04 19:13:55 +02:00
2018-09-28 16:37:06 +02:00
2018-05-29 17:34:49 +03:00
2018-07-03 14:02:05 +04: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-05-07 00:07:32 +03:00
2018-10-05 08:09:49 +03:00
2018-06-05 11:56:19 +04:00
2018-05-07 00:07:33 +03:00
2018-09-28 16:37:06 +02:00
2018-09-28 16:37:06 +02:00
2018-07-13 20:14:27 +03:00
2018-06-27 16:07:21 +04:00
2018-10-05 08:09:49 +03:00
2018-05-07 00:07:32 +03:00
2018-10-01 15:05:19 +04:00
2018-10-01 12:34:03 +04:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-07-04 19:13:55 +02:00
2018-08-21 12:27:29 -07:00
2018-09-21 18:03:23 +04:00
2018-10-01 12:34:03 +04:00
2018-10-01 15:05:19 +04:00
2018-05-07 00:07:32 +03:00
2018-10-05 08:09:49 +03:00
2018-10-05 08:09:49 +03:00
2018-07-04 19:13:55 +02: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-05-07 00:07:32 +03:00
2018-08-11 19:12:13 +04:00
2018-06-30 16:39:20 +02:00
2018-09-11 21:31:03 +03:00
2018-09-28 14:01:17 +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-10-02 13:42:44 +04:00
2018-05-07 00:07:32 +03:00
2018-05-07 00:07:32 +03:00
2018-10-05 09:29:22 +01:00
2018-05-12 10:16:46 +02:00
2018-08-03 15:57:23 +03:00
2018-05-07 00:07:33 +03:00
2018-04-24 12:48:27 +03:00
2018-06-05 10:50:08 +04:00
2018-06-04 12:32:23 +02:00
2018-05-12 10:16:45 +02:00
2018-10-01 17:53:20 +03: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-05-07 13:49:14 +03:00
2018-09-28 16:37:06 +02:00
2018-08-03 15:57:23 +03:00