Last modified: 2013-12-10 14:15:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60240, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58240 - mysqli reports field types using an integer code, translation needed to type names
mysqli reports field types using an integer code, translation needed to type ...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-09 22:20 UTC by Daniel Kinzler
Modified: 2013-12-10 14:15 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-12-09 22:20:51 UTC
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().

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links