[MDEV-5549] Wrong row counter in found_rows() result Created: 2014-01-22 Updated: 2014-11-27 Resolved: 2014-02-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.6, 10.0.7 |
| Fix Version/s: | 10.0.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lay András | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" Linux version 3.2.43-grsec-sma (root@admin.sma.hu) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Mon Jun 17 14:23:20 CEST 2013 |
||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Hi! I'v tested the following query:
The found rows result should be 9, not 887. I attached the database dump. |
| Comments |
| Comment by Elena Stepanova [ 2014-01-28 ] | ||||||||||||||||||||||||
|
Smaller test case:
Actual result:
With so few rows, the test case shows the problem only on MyISAM tables. With somewhat more rows, same happens with InnoDB/XtraDB as well. | ||||||||||||||||||||||||
| Comment by Serg G. Brester [ 2014-05-08 ] | ||||||||||||||||||||||||
|
New "test case" example was added to |