[MDEV-2858] LP:601156 - RQG: item_subselect.cc:4635: virtual void subselect_partial_match_engine::print(String*, enum_query_type): Assertion `(0)' failed. Created: 2010-07-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: | Minor |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Timour Katchaounov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
When executing the query below, MariaDB 5.3 asserts as follows: mysqld: item_subselect.cc:4635: virtual void subselect_partial_match_engine::print(String*, enum_query_type): Assertion `(0)' failed. The assertion seems to be introduced by the following patch: https://lists.launchpad.net/maria-developers/msg02447.html Backtrace: #8 0x00897de8 in __assert_fail () from /lib/libc.so.6 |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-07-02 ] |
|
Re: item_subselect.cc:4635: virtual void subselect_partial_match_engine::print(String*, enum_query_type): Assertion `(0)' failed. --disable_warnings CREATE TABLE `CC` ( INSERT INTO `CC` VALUES (7,8,'v'); INSERT INTO `C` VALUES (NULL,2,'w'); EXPLAIN EXTENDED DROP TABLE CC; |
| Comment by Timour Katchaounov (Inactive) [ 2010-10-24 ] |
|
Re: RQG: item_subselect.cc:4635: virtual void subselect_partial_match_engine::print(String*, enum_query_type): Assertion `(0)' failed. The cause for this bug is that MariaDB 5.3 still processes derived tables (subqueries in the FROM clause) The assert statement is triggered when MATERIALIZATION is ON for EXPLAIN EXTENDED for derived
Possible solutions: |
| Comment by Timour Katchaounov (Inactive) [ 2010-10-26 ] |
|
Re: RQG: item_subselect.cc:4635: virtual void subselect_partial_match_engine::print(String*, enum_query_type): Assertion `(0)' failed. --disable_warnings CREATE TABLE t1 (a1 int DEFAULT NULL, a2 int DEFAULT NULL); SET @@optimizer_switch='materialization=on,semijoin=off,partial_match_rowid_merge=on,partial_match_table_scan=on'; EXPLAIN EXTENDED DROP TABLE t2; |
| Comment by Timour Katchaounov (Inactive) [ 2010-10-26 ] |
|
Re: RQG: item_subselect.cc:4635: virtual void subselect_partial_match_engine::print(String*, enum_query_type): Assertion `(0)' failed. |
| Comment by Rasmus Johansson (Inactive) [ 2010-10-26 ] |
|
Launchpad bug id: 601156 |