[MDEV-11081] Cursor fetches NULL for aggregate functions Created: 2016-10-18 Updated: 2016-11-23 Resolved: 2016-11-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression-10.2 | ||
| Description |
|
This script:
correctly returns these results in 10.1:
In 10.2 the same script returns wrong results:
|
| Comments |
| Comment by Alexander Barkov [ 2016-10-21 ] | |||
|
It seems the problem was introduced by:
Igor, can you please take over this bug? | |||
| Comment by Igor Babaev [ 2016-10-21 ] | |||
|
Alexander, | |||
| Comment by Alexander Barkov [ 2016-10-21 ] | |||
|
I found this while writing tests for " | |||
| Comment by Igor Babaev [ 2016-11-23 ] | |||
|
The fix for this bug was pushed into the 10.2 tree. |