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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 30 19:01:23 2020 UTC