[MDEV-2770] LP:671901 - No rows returned with (flat, BNLH join) in maria-5.3-mwl128 Created: 2010-11-06 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: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following query SELECT table1.col_int_key FROM t1 AS table1 JOIN t2 AS table2 ON table1.col_varchar_10_utf8_key = table2.col_varchar_1024_utf8_key; returns no rows when executed with (flat, BNLH join) , but returns rows when executed with full table scan and classical nested loop join. |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-11-06 ] |
|
Re: No rows returned with (flat, BNLH join) in maria-5.3-mwl128 --disable_warnings CREATE TABLE t1 ( CREATE TABLE t2 ( SET SESSION join_cache_level = 6; SELECT table1.col_int_key FROM t1 AS table1 JOIN t2 AS table2 ON table1.col_varchar_10_utf8_key = table2.col_varchar_1024_utf8_key ; SET SESSION join_cache_level=0; DROP TABLE t1; |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 671901 |