1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/mysql-test/t
Sergey Glukhov bed0948145 Bug#51494 crash with join, explain and 'sounds like' operator
The crash happens because of discrepancy between values of
conts_tables and join->const_table_map(make_join_statisctics).
Calculation of conts_tables used condition with
HA_STATS_RECORDS_IS_EXACT flag check. Calculation of
join->const_table_map does not use this flag check.
In case of MERGE table without union with index
the table does not become const table and
thus join_read_const_table() is not called
for the table. join->const_table_map supposes
this table is const and later in make_join_select
this table is used for making&calculation const
condition. As table record buffer is not populated
it leads to crash.
The fix is adding a check if an engine supports
HA_STATS_RECORDS_IS_EXACT flag before updating
join->const_table_map.
2010-03-19 10:01:02 +04:00
..
2009-08-20 14:30:59 +02:00
2009-02-09 22:00:15 +01:00
2010-02-25 23:13:11 +04:00
2009-02-09 22:00:15 +01:00
2009-06-25 13:44:50 +05:00
2009-09-29 17:38:40 +02:00
2010-02-25 17:12:15 +02:00
2010-03-05 16:44:37 +00:00
2010-02-19 19:06:47 +00:00
2009-03-27 10:18:06 +08:00
2009-02-06 18:25:08 +01:00
2009-01-23 13:22:05 +01:00
2010-03-10 12:22:08 +02:00
2009-12-11 16:02:47 +02:00
2009-05-06 15:00:14 +05:30
2010-02-26 13:02:57 +04:00
2009-09-02 18:58:17 +02:00
2009-04-09 14:38:50 +05:00
2009-10-20 11:00:07 -07:00
2009-01-23 13:22:05 +01:00
2009-12-17 12:06:36 -08:00
2010-01-29 16:54:27 +02:00
2009-12-10 17:38:01 +02:00
2009-02-03 14:45:17 +01:00
2009-08-12 12:03:05 +02:00
2010-03-12 11:52:38 +01:00
2009-12-26 15:25:56 +04:00
2010-01-29 15:08:49 +04:00
2009-03-10 16:54:24 +01:00
2010-01-15 10:51:39 +02:00
2009-07-03 10:19:32 +02:00
2009-11-27 18:10:28 +02:00
2009-12-23 17:44:03 +04:00
2009-06-10 11:58:36 +03:00
2008-12-13 19:42:12 +00:00
2009-02-19 18:24:25 -05:00
2009-01-31 02:08:41 +01:00
2009-12-22 14:38:33 +04:00