[MDEV-3475] LP:623315 - Query returns less rows when run with join_cache_level=6 on maria-5.3-dsmrr-cpk Created: 2010-08-24 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: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following query: SELECT table2 .`pk` Returns 469 rows when executed with join_cache_level=6 on maria-5.3-dsmrr-cpk . maria-5.3 , join_cache_level=0 and using IGNORE INDEX to modify the query plan all agree that the query should return 480 rows. |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-08-24 ] |
|
Re: Query returns less rows when run with join_cache_level=6 on maria-5.3-dsmrr-cpk --source include/have_innodb.inc CREATE TABLE `CC` ( SET SESSION join_optimizer_level=6; SELECT table2 .`pk` SET SESSION join_optimizer_level=0; SELECT table2 .`pk` |
| Comment by Sergei Petrunia [ 2010-09-16 ] |
|
Re: Query returns less rows when run with join_cache_level=6 on maria-5.3-dsmrr-cpk Tip changeset I've tried with:
|
| Comment by Arjen Lentz (Inactive) [ 2010-09-17 ] |
|
Re: [Bug 623315] Re: Query returns less rows when run with join_cache_level=6 on maria-5.3-dsmrr-cpk On 16/09/2010, at 5:31 PM, Sergey Petrunia wrote: Will Philip's test be put into the test suite anyway, to be sure we Cheers, Follow us at http://openquery.com/blog/ & http://twitter.com/openquery |
| Comment by Sergei Petrunia [ 2010-12-02 ] |
|
Re: Query returns less rows when run with join_cache_level=6 on maria-5.3-dsmrr-cpk |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 623315 |