Re: PDO_DBLIB type handling
| From: | Adam Baratz | Date: | Mon, 23 Feb 2015 20:12:27 +0000 |
| Subject: | Re: PDO_DBLIB type handling | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83602@lists.php.net to get a copy of this message | ||
Makes sense to me. (I'm new at how this community works.) Should I include
a patch with the feature request ticket? Should I be working against master?
On Mon, Feb 23, 2015 at 4:42 AM, Matteo Beccati <php@beccati.com> wrote:
> On 22/02/2015 22:02, Yasuo Ohgaki wrote:
>
>> Hi Matteo,
>>
>> On Sun, Feb 22, 2015 at 7:45 PM, Matteo Beccati <php@beccati.com> wrote:
>>
>> The default behaviour of mysql/pgsql drivers is to convert to the
>>> matching
>>> PHP type, if possible. That can be turned off via
>>> PDO::ATTR_STRINGIFY_FETCHES => true.
>>>
>>> If PDO_DBLIB doesn't behave like that, I'd say it's a bug that needs to
>>> be
>>> fixed, but possibly only applied to a major/minor release due to the BC
>>> break.
>>>
>>>
>> Please write up RFC now. It's the time :)
>>
>
> I'm actually saying that we don't need yet another RFC to fix bugs ;)
>
>
>
> Cheers
> --
> Matteo Beccati
>
> Development & Consulting - http://www.beccati.com/
>