Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Wez Furlong's Blog:
PDO MySQL, Now with Native Statements
Jul 04, 2005 @ 12:28:21

Wez Furlong has a new blog post from his blog today about a new feature of the PDO library - PDO MySQL native statements.

I've had a number of people ask me about this feature recently, and now it's here. What took so long? I just didn't have mysql 4.1 installed anywhere, or enough time to set aside to look into it. A patch from Guy Harrison (for multiple rowsets) caught me at just the right time today, and set me up for some hacking.

In CVS (and showing up on snaps soon), the pdo_mysql driver now has support for the following features when compiled against mysql 4.1 or higher: Support for queries returning multiple rowsets, via PDOStatement::nextRowset(), Supports "native" sqlstate error codes, for "better" error reporting, Supports native prepared statements and bound parameters.

So, of course, Wez is looking for feedback on the feature as well as some testing from MySQL users out there...

tagged:

Link:


Trending Topics: