[MDEV-2414] LP:668290 - Wrong result in maria-5.3-mwl128 with join_cache_level = 4 and small join_buffer_size and join buffer (flat, BNLH join) Created: 2010-10-29 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 t2 .col_int_key FROM t2 JOIN t1 ON t2 .col_varchar_10_latin1_key = t1 .col_varchar_10_utf8_key ; returns no rows when executed with join_cache_level = 4, join_buffer_size = 164 , even though there are rows for which the condition t2 .col_varchar_10_latin1_key = t1 .col_varchar_10_utf8_key is TRUE. The execution strategy is reported as "Using join buffer (flat, BNLH join)". maria-5.3 is not affected. |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-10-29 ] |
|
Re: Wrong result in maria-5.3-mwl128 with join_cache_level = 4 and small join_buffer_size --disable_warnings CREATE TABLE t1 ( SELECT t2 .col_int_key FROM t2 JOIN t1 ON t2 .col_varchar_10_latin1_key = t1 .col_varchar_10_utf8_key ; SET SESSION join_cache_level = 4; SELECT t2 .col_int_key FROM t2 JOIN t1 ON t2 .col_varchar_10_latin1_key = t1 .col_varchar_10_utf8_key ; |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 668290 |