[MDEV-3597] LP:824425 - Crash in Item_func::fix_fields with partial_match_rowid_merge and unrealistic double subqueries on the left side Created: 2011-08-11 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: | Trivial |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following unrealisic query: SELECT * FROM t1 crashes as follows when run wtih partial_match_rowid_merge: #4 <signal handler called> minimal optimizer_switch: ,materialization=ON,partial_match_rowid_merge=ON,partial_match_table_scan=OFF full optimizer_switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,index_condition_pushdown=on,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=on,semijoin=off,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on test case: CREATE TABLE t1 ( a int) ; CREATE TABLE t2 (a int) ; CREATE TABLE t3 ( a int, b int) ; SET SESSION optimizer_switch='semijoin=OFF,in_to_exists=OFF,materialization=ON,partial_match_rowid_merge=ON,partial_match_table_scan=OFF'; SELECT * FROM t1 bzr version-info revision-id: <email address hidden> |
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2011-08-12 ] |
|
Re: Crash in Item_func::fix_fields with partial_match_rowid_merge and unrealistic double subqueries on the left side For instance PostgreSQL forbids this construct. In our case Need to check what ANSI SQL says. |
| Comment by Philip Stoev (Inactive) [ 2011-08-12 ] |
|
Re: Crash in Item_func::fix_fields with partial_match_rowid_merge and unrealistic double subqueries on the left side |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 824425 |