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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
19 + 35 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC