Req #69112 [Opn->Csd]: handle types the same way as mssql extension

From: Date: Mon, 12 Sep 2016 22:00:29 +0000
Subject: Req #69112 [Opn->Csd]: handle types the same way as mssql extension
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203984@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69112&edit=1 ID: 69112 Updated by: adambaratz@php.net Reported by: adam dot baratz at gmail dot com Summary: handle types the same way as mssql extension -Status: Open +Status: Closed Type: Feature/Change Request Package: PDO DBlib PHP Version: Irrelevant -Assigned To: +Assigned To: adambaratz Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2015-02-26 20:27:26] adam dot baratz at gmail dot com I tidied up the change and submitted as the attached pull request. ------------------------------------------------------------------------ [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

« previous php.bugs (#203984) next »