[MDEV-2174] LP:611704 - Crash in replace_where_subcondition with nested subquery and semijoin=on Created: 2010-07-30 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: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following query crashes maria 5.3 when executed as a prepared statement or a stored procedure: SELECT `col_varchar_key` backtrace: #3 0x0827e9e0 in handle_segfault (sig=11) at mysqld.cc:2703 EXPLAIN: 1 PRIMARY <derived2> system NULL NULL NULL NULL 0 const row not found |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-07-30 ] |
|
Re: Crash in replace_where_subcondition on executing a nested subquery as a stored procedure or prepared statement CREATE TABLE `CC` ( CREATE PROCEDURE stored_proc_23161 ( ) |
| Comment by Philip Stoev (Inactive) [ 2010-07-30 ] |
|
Re: Crash in replace_where_subcondition on executing a nested subquery as a stored procedure or prepared statement CREATE TABLE `CC` ( PREPARE st1 FROM 'SELECT table1 .`pk` EXECUTE st1; |
| Comment by Philip Stoev (Inactive) [ 2011-02-26 ] |
|
Re: Crash in replace_where_subcondition on executing a nested subquery as a stored procedure or prepared statement CREATE TABLE t1 ( f1 int(11), f3 varchar(1), f4 varchar(1)) ; CREATE TABLE t2 ( f2 int(11), KEY (f2)); CREATE TABLE t3 ( f4 varchar(1)) ; PREPARE st1 FROM ' |
| Comment by Philip Stoev (Inactive) [ 2011-03-02 ] |
|
Re: Crash in replace_where_subcondition on executing a nested subquery as a stored procedure or prepared statement Explain: id select_type table type possible_keys key key_len ref rows Extra |
| Comment by Philip Stoev (Inactive) [ 2011-06-20 ] |
|
Re: Crash in replace_where_subcondition on executing a nested subquery as a stored procedure or prepared statement and semijoin=on |
| Comment by Philip Stoev (Inactive) [ 2011-06-28 ] |
|
Re: Crash in replace_where_subcondition on executing a nested subquery as a stored procedure or prepared statement and semijoin=on SET SESSION optimizer_switch='semijoin=on,materialization=off,firstmatch=off,loosescan=off'; CREATE TABLE t1 ( f1 int) ; CREATE TABLE t2 ( f1 int) ; CREATE TABLE t3 ( f1 int) ; SELECT * FROM ( |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 611704 |