[MDEV-3227] LP:641203 - Query returns rows where no result is expected (impossible WHERE) in maria-5.3-mwl89 Created: 2010-09-17 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 table1 .`col_varchar_nokey` returns rows even though there is no value 's' in table C Test case: SET LOCAL optimizer_switch='semijoin=off,materialization=off'; --disable_warnings CREATE TABLE `A` ( SELECT table1 .`col_varchar_nokey` |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-09-17 ] |
|
Re: Query returns NULLs where no result is expected in maria-5.3-mwl89 |
| Comment by Philip Stoev (Inactive) [ 2010-09-17 ] |
|
Re: Query returns NULLs where no result is expected in maria-5.3-mwl89 SET SESSION optimizer_switch='materialization=off,subquery_cache=off,semijoin=off'; --disable_warnings CREATE TABLE `CC` ( SELECT table2 .`col_datetime_key` |
| Comment by Timour Katchaounov (Inactive) [ 2010-10-24 ] |
|
Re: Query returns rows where no result is expected (impossible WHERE) in maria-5.3-mwl89 |
| Comment by Timour Katchaounov (Inactive) [ 2010-11-08 ] |
|
Re: Query returns rows where no result is expected (impossible WHERE) in maria-5.3-mwl89 DROP TABLE IF EXISTS t1, t2; CREATE TABLE t1 ( SET @@optimizer_switch='in_to_exists=on,materialization=off,subquery_cache=off,semijoin=off'; SELECT t1.c2 |
| Comment by Timour Katchaounov (Inactive) [ 2010-11-08 ] |
|
Re: Query returns rows where no result is expected (impossible WHERE) in maria-5.3-mwl89 DROP TABLE IF EXISTS t1, t2; CREATE TABLE t1 (c1 varchar(1) DEFAULT NULL); SET @@optimizer_switch='in_to_exists=on,materialization=off,subquery_cache=off,semijoin=off'; SELECT t1.c1 |
| Comment by Rasmus Johansson (Inactive) [ 2010-11-19 ] |
|
Launchpad bug id: 641203 |