Re: PDO, dbh::setDefaultFetchMode patch

From: Date: Sat, 18 Mar 2006 23:26:55 +0000
Subject: Re: PDO, dbh::setDefaultFetchMode patch
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-22522@lists.php.net to get a copy of this message
It breaks the ABI; always add new structure members at the end of structures, and always bump the API number when you change anything like that in the pdo driver header file. Aside from that, although I personally wouldn't use this patch, it looks OK.. --Wez. On 3/18/06, Pierre <pierre.php@gmail.com> wrote: > Hello, > > This patch [1] adds a setDefaultFetchMode to the dbh object. It does > not introduce BC break but allow to set once the fetchmode for a > connection. > > Comments? > > --Pierre > > [1] http://pear.php.net/~pierre/dbh_fetchmode.txt > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#22522) next »