[MDEV-3509] LP:893486 - Wrong result with partial_match_rowid_merge , NOT IN , NULLs Created: 2011-11-22 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: | Critical |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Timour Katchaounov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following query: SELECT * returns no rows when executed with partial_match_rowid_merge even though the WHERE should evaluate to TRUE for all rows in t1 (as confirmed by PostgreSQL). EXPLAIN: id select_type table type possible_keys key key_len ref rows Extra minimal switch: materialization=on,partial_match_rowid_merge=on,partial_match_table_scan=off reproducible on both maria-5.3 and maria-5.3-mwl89 revision-id: <email address hidden> test case: SET SESSION optimizer_switch='materialization=on,partial_match_rowid_merge=on,partial_match_table_scan=off'; CREATE TABLE t2 (a int, b int); SELECT * |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2011-11-23 ] |
|
Launchpad bug id: 893486 |