|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69112 handle types the same way as mssql extension
Submitted: 2015-02-23 21:50 UTC Modified: 2016-09-12 22:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: adam dot baratz at gmail dot com Assigned: adambaratz (profile)
Status: Closed Package: PDO DBlib
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2015-02-23 21:50 UTC] adam dot baratz at gmail dot com
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.


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-26 20:27 UTC] adam dot baratz at gmail dot com
I tidied up the change and submitted as the attached pull request.
 [2016-09-12 22:00 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: adambaratz
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jun 17 04:01:23 2021 UTC