[MDEV-5059] Wrong result (missing row) wih semijoin, join_cache_level > 2, LEFT JOIN, ORDER BY Created: 2013-09-23 Updated: 2014-01-29 Resolved: 2013-11-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.4, 5.3.12, 5.5.33a |
| Fix Version/s: | 5.5.34, 10.0.7, 5.3.13 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Test case:
Actual result:
Expected result:
Reproducible on older versions down to 5.3.5 at least. EXPLAIN (from current 5.5):
|
| Comments |
| Comment by Elena Stepanova [ 2013-10-20 ] |
|
Another test case (don't know if it's better or worse, but since I already have it, it won't hurt): CREATE TABLE t1 (pk INT PRIMARY KEY, c1 VARCHAR(1)) ENGINE=MyISAM; CREATE TABLE t2 (c2 VARCHAR(1)) ENGINE=MyISAM; CREATE TABLE t3 (c3 VARCHAR(1), INDEX(c3)) ENGINE=MyISAM; SET join_cache_level = 3; Returns With join_cache_level=2 it returns |
| Comment by Sergei Petrunia [ 2013-11-21 ] |
| Comment by Daniel Bartholomew [ 2014-01-29 ] |
|
http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/3979 |