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
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.
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
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.
Ok, not a problem to move it at the end.
Aside from that, although I personally wouldn't use this patch, it looks OK.
It is for lazy coders like me ;-)
Ilia is fine to add it to 5.x (after 5.1.3), I will commit once 5.1.3
is released, head and to the active 5.x branche.
Thanks for the feedback :)
--Pierre