php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: adam dot baratz at gmail dot com
New email:
PHP Version: OS:

 

 [2015-02-23 21:50 UTC] 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.


Patches

Pull Requests

Pull requests:

History

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] adambaratz@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: adambaratz
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 11:01:31 2025 UTC