[MDEV-2654] LP:724228 - Wrong result with materialization=on and three aggregates in maria-5.3-mwl90 Created: 2011-02-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 | ||
| Reporter: | Philip Stoev (Inactive) | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following query returns no rows in maria-5.3-mwl90 with materialization , even though it returns 1 row ("16") in maria-5.3 and when run with materialization=off. bzr version-info: revision-id: <email address hidden> test case: CREATE TABLE t1 ( f2 int(11)) ; CREATE TABLE t2 ( f1 int(11), f2 int(11)) ENGINE=MyISAM; CREATE TABLE t3 ( f1 int(11), f2 int(11), f3 int(11), PRIMARY KEY (f1)) ; SET SESSION join_cache_level = 1; SELECT f1 FROM t3 explain: id select_type table type possible_keys key key_len ref rows Extra in addition, the EXPLAIN lists a key, "distinct_key" that was not defined by the user. If it is an internal key, it must be placed in brackets < > . |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 724228 |