[MDEV-3593] LP:944504 - Server crashes in do_select on ALL/ANY subquery from a view, with character_set_connection=utf8 Created: 2012-03-02 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: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
#4 <signal handler called> bzr version-info Reproducible on MariaDB 5.3, 5.5. Not reproducible on MariaDB 5.2, MySQL 5.1.60, 5.5.20, 5.6.4. EXPLAIN: id select_type table type possible_keys key key_len ref rows filtered Extra Minimal optimizer_switch: in_to_exists=on Test case: SET optimizer_switch = 'in_to_exists=on';
|
| Comments |
| Comment by Sergei Petrunia [ 2012-03-02 ] |
|
Re: Server crashes in do_select on ALL/ANY subquery from a view, with character_set_connection=utf8 15035 if (join->table_count) because (gdb) p join->top_join_tab_count If one looks at the source of the problem, they will find that the execution is an odd state. Here is the stack trace of the crash, with unneeded details removed: (gdb) wher Note that we're inside JOIN::optimize (this=$JOIN1) , #14. And what we're trying to do is to call JOIN::exec (this=$JOIN1) for the same join object. This is wrong: optimization of a join should not involve attempts to execute the join we're trying to optimize. I think, something is wrong with type conversions and/or MIN/MAX transformations. |
| Comment by Sergei Petrunia [ 2012-03-02 ] |
|
Re: Server crashes in do_select on ALL/ANY subquery from a view, with character_set_connection=utf8 |
| Comment by Oleksandr Byelkin [ 2012-03-02 ] |
|
Re: Server crashes in do_select on ALL/ANY subquery from a view, with character_set_connection=utf8 |
| Comment by Oleksandr Byelkin [ 2012-03-05 ] |
|
Re: Server crashes in do_select on ALL/ANY subquery from a view, with character_set_connection=utf8
|
| Comment by Oleksandr Byelkin [ 2012-03-05 ] |
|
Re: Server crashes in do_select on ALL/ANY subquery from a view, with character_set_connection=utf8 === modified file 'mysql-test/t/ctype_recoding.test' --echo End of 4.1 tests |
| Comment by Rasmus Johansson (Inactive) [ 2012-03-05 ] |
|
Launchpad bug id: 944504 |