[MDEV-2144] LP:906357 - Incorrect result with outer join and full text match Created: 2011-12-19 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: | Timour Katchaounov (Inactive) | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following test case derived from fulltext.test produces wrong result: CREATE TABLE t1(f1 VARCHAR(6) NOT NULL, FULLTEXT KEY(f1), UNIQUE(f1)); CREATE TABLE t2(f2 VARCHAR(6) NOT NULL, FULLTEXT KEY(f2), UNIQUE(f2)); – Correct result: the ON predicate is FALSE
-----
----- SELECT * FROM t1 RIGHT OUTER JOIN t2 ON (f1 = "");
-----
----- – Wrong result: the ON predicate is FALSE as above, but the result is different:
-----
----- SELECT * FROM t1 RIGHT OUTER JOIN t2 ON (MATCH(f1) against (""));
-----
----- |
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2011-12-19 ] |
|
Re: Incorrect result with outer join and full text match ------------------------------------------------------------ |
| Comment by Sergei Petrunia [ 2011-12-19 ] |
|
Re: Incorrect result with outer join and full text match |
| Comment by Sergei Petrunia [ 2011-12-19 ] |
|
Re: Incorrect result with outer join and full text match |
| Comment by Sergei Petrunia [ 2012-01-11 ] |
|
Re: Incorrect result with outer join and full text match |
| Comment by Rasmus Johansson (Inactive) [ 2012-02-20 ] |
|
Launchpad bug id: 906357 |