[MDEV-2912] LP:725050 - Crash with join_cache_hashed with semijoin and join_cache_level=3 Created: 2011-02-25 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Timour Katchaounov (Inactive) | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following example causes a crash in 5.3. The reason to set a create table t1 (a int not null); set @@optimizer_switch='join_cache_hashed=on,semijoin=on'; SET @@debug = 'd:t:O,/tmp/trace.out'; explain drop table t1; |
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2011-02-25 ] |
|
Re: Carsh with join_cache_hashed with semijoin and join_cache_level=3 #0 add_key_field at sql_select.cc:3677 The reason for the difference is that 5.3-mwl89 optimizes subqueries |
| Comment by Timour Katchaounov (Inactive) [ 2011-02-25 ] |
|
Re: Carsh with join_cache_hashed with semijoin and join_cache_level=3
The test case was extracted from subselect_sj2_jcl6.test. |
| Comment by Timour Katchaounov (Inactive) [ 2011-02-25 ] |
|
Re: Carsh with join_cache_hashed with semijoin and join_cache_level=3 create table t1 (a int not null); set @@optimizer_switch='join_cache_hashed=on,semijoin=on'; SET @@debug = 'd:t:O,/tmp/trace.out'; explain drop table t1; |
| Comment by Igor Babaev [ 2011-02-28 ] |
|
Re: Crash with join_cache_hashed with semijoin and join_cache_level=3 |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 725050 |