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

            Bug ID: 65578
           Summary: wrong result for numFileds in sqllite
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Database
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: phy...@ckurs.de
       Web browser: ---
   Mobile Platform: ---

Sqllite uses the size of the result array to count the number of rows.
"
        $r = $res instanceof ResultWrapper ? $res->result : $res;
        return is_array( $r ) ? count( $r[0] ) : 0;
"
but the size of the result array is the double of the expected result since it
contains an array with the row_names->values and row numbers->values

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to