[MDEV-3528] LP:714808 - JOIN::choose_subquery_plan(table_map): Assertion `outer_lookup_keys <= outer_record_count' failed with materialization in maria-5.3-mwl89 Created: 2011-02-07 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: | Major |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Timour Katchaounov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
mysqld: opt_subselect.cc:3740: bool JOIN::choose_subquery_plan(table_map): Assertion `outer_lookup_keys <= outer_record_count' failed. backtrace: JOIN::choose_subquery_plan(unsigned long long)+0x35e) [0x83c358c] test case: SET SESSION optimizer_switch = 'materialization=on'; SELECT * FROM ( revision-id: <email address hidden> not repeatable with maria-5.3 |
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2011-02-10 ] |
|
Re: JOIN::choose_subquery_plan(table_map): Assertion `outer_lookup_keys <= outer_record_count' failed with materialization in maria-5.3-mwl89 SELECT t1.* Both the RIGHT JOIN and the OR are needed because |
| Comment by Timour Katchaounov (Inactive) [ 2011-02-10 ] |
|
Re: JOIN::choose_subquery_plan(table_map): Assertion `outer_lookup_keys <= outer_record_count' failed with materialization in maria-5.3-mwl89 The function best_access_path() computes the number or records as ---------------------------------------- Solution: |
| Comment by Rasmus Johansson (Inactive) [ 2011-02-10 ] |
|
Launchpad bug id: 714808 |