Last modified: 2013-12-10 14:15:38 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().