https://bugzilla.wikimedia.org/show_bug.cgi?id=41705

       Web browser: ---
             Bug #: 41705
           Summary: Default implementation of
                    DatabaseBase::estimateRowCount() works incorrectly for
                    queries with GROUP BY
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Database
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


It simply set array( 'rowcount' => 'COUNT(*)' ) as $var, causing count of the
first group fetched and treated as the count of all grouped rows.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to