[MDEV-9390] Function found_rows() gives incorrect result where the previous SELECT contains ORDER BY clause Created: 2016-01-11 Updated: 2016-02-15 Resolved: 2016-02-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.0.24, 10.1.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Dylan Su | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Sprint: | 10.0.24 |
| Description |
|
Output:
Repeat:
Problem: |
| Comments |
| Comment by Elena Stepanova [ 2016-01-12 ] | ||||||
|
Thanks for the report and the test case. The problem appeared in 10.0 tree with this revision:
|