[MDEV-3538] LP:894397 - Wrong result with in_to_exists, constant table , semijoin=OFF,materialization=OFF Created: 2011-11-24 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 |
|
The following query: SELECT * returns rows that do not match the WHERE predicate when executed with in_to_exists. Forcing in_to_exists requires disabling semijoin and materialization. explain: id select_type table type possible_keys key key_len ref rows Extra minimal switch: semijoin=off,materialization=off,in_to_exists=on repeatable in maria-5.3. not repeatable in maria-5.2, mysql-5.5 bzr version-info test case: CREATE TABLE t1 (a varchar(3)); CREATE TABLE t2 (a varchar(3)); SELECT * |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2011-11-28 ] |
|
Launchpad bug id: 894397 |