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

       Web browser: ---
            Bug ID: 58240
           Summary: mysqli reports field types using an integer code,
                    translation needed to type names
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Database
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: daniel.kinz...@wikimedia.de
    Classification: Unclassified
   Mobile Platform: ---

mysqli_result::fetch_field_direct returns an int in type "type" field, which
can be mapped to the actual field type. I couldn't find an authoritative
references, but there's some code in the comments on the PHP manual:
<http://php.net/manual/en/mysqli-result.fetch-field-direct.php#89117>.

DatabaseMysqli::mysqlFetchField() needs to translate the type field to a
readable string, to be consistent with DatabaseMysql::mysqlFetchField().

-- 
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