[MDEV-3537] LP:702301 - Wrong empty result for MIN/MAX without GROUP BY filtered by an empty subquery Created: 2011-01-13 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: | Timour Katchaounov (Inactive) | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following test case subselect_mat.test: |
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2011-01-13 ] |
|
Re: Wrong empty result for MIN/MAX without GROUP BY filtered by an empty subquery |
| Comment by Timour Katchaounov (Inactive) [ 2011-01-13 ] |
|
Re: Wrong empty result for MIN/MAX without GROUP BY filtered by an empty subquery create table t1 (a1 int key);
|
| Comment by Igor Babaev [ 2011-07-20 ] |
|
Re: Wrong empty result for MIN/MAX without GROUP BY filtered by an empty subquery CREATE TABLE t1 (a int, b int, KEY (b)); MariaDB [test]> SELECT MAX(t1.b) AS max_res FROM t1 WHERE (9) IN (SELECT a FROM t2) |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 702301 |