Req #69112 [Com]: handle types the same way as mssql extension
Edit report at https://bugs.php.net/bug.php?id=69112&edit=1
ID: 69112
Comment by: adam dot baratz at gmail dot com
Reported by: adam dot baratz at gmail dot com
Summary: handle types the same way as mssql extension
Status: Open
Type: Feature/Change Request
Package: PDO DBlib
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I tidied up the change and submitted as the attached pull request.
Previous Comments:
------------------------------------------------------------------------
[2015-02-23 21:50:16] adam dot baratz at gmail dot com
Description:
------------
This driver returns all column data as a string, regardless of how it's represented in the DB.
It would be better if data were handled the same as in php_mssql_get_column_content_with_type(). If
this driver were sensitive to the PDO::ATTR_STRINGIFY_FETCHES attribute (and it defaulted to true),
this change could be made without impacting existing users.
I've done a rough version of this change. I could tidy it up into a pull request if desired.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69112&edit=1
Thread (3 messages)