Menu

#4664 (ok 4.3.4) select min() displays 1 row, but reports the table amount of rows returned

4.3.3
fixed
None
1
2014-12-29
2014-12-23
No

I just did "SELECT min(field) FROM table WHERE 1".
What I ended up with was "Showing rows 0-249 (171263438 total, Query took ...)"

And the result showed 1 row.

So this count is clearly wrong. No problem for the usage. Just thought to report it.

1 Attachments

Discussion

  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    Interestingly "SELECT min(field) FROM table WHERE true" returns correct results.

     
  • Madhura Jayaratne

    • summary: select min() displays 1 row, but reports the table amount of rows returned --> (ok 4.3.4) select min() displays 1 row, but reports the table amount of rows returned
    • status: open --> resolved
     
  • Marc Delisle

    Marc Delisle - 2014-12-29
    • Status: resolved --> fixed