Archiv für den Monat July, 2008

PDO_MYSQLND: The new features of PDO_MYSQL in PHP 5.3

Monday, July 28th, 2008

PDO_MYSQLND is in the PHP CVS repository at php.net: PDO_MYSQL has been patched (PHP 5.3, PHP 6.0). Try out PDO_MYSQL with the MySQL native driver for PHP (mysqlnd). Its has new features.

Since Kaj’s announcement of the MySQL native driver for PHP (mysqlnd), we promised to to patch all three PHP MySQL extensions (ext/mysql, ext/mysqli and […]

PDO_MYSQLND: Monday morning murders

Monday, July 7th, 2008

I am a member of the monday morning murder association. I murdered bugs. As said earlier, the modification of PDO_MYSQL to support both the MySQL native driver for PHP (mysqlnd) and the MySQL Client Library (AKA libmysql) is progressing. A good number of known and unknown bugs has been killed. But some new have been […]

PDO_MYSQLND: Mighty multiple-queries and PDOStatement::nextRowset()

Friday, July 4th, 2008

MySQLs multiple-queries feature makes it possible to run two or more SQL commands with one function call: SQL injections made easy. The PDO design is said to be optimized for security. For security reasons PDO has gone the stony road of prepared statements. If security matters, why does PDO_MYSQL explicitly enable multiple-queries? If portability matters, […]

PDO: Learn how the PDO SQL parser causes bug reports

Thursday, July 3rd, 2008

The PDO SQL parser causes many bugs. All drivers suffer from it. By default the parser replaces placeholder with ‘<bound_value>’.'<bound_value>’ is a string. This can clash with the SQL syntax. PDO can make an INSERT fail. Please learn why and stop reporting bogus bugs.

Why does PDO parse my SQL commands?

PDO has chosen Prepared Statements […]

PDO_MYSQLND: Calling Stored Procedures works fine with mysqlnd

Thursday, July 3rd, 2008

Mike is asking I`m hoping that MySQL stored procedures will work properly. Especially multiple calls in one request. in reply to PDO_MYSQLND: R[a|u]mbling and a breeze of progress. Mike, it depends what you mean by "properly". If you use the API properly it works fine with mysqlnd. Read on for code examples.

 
mysqlnd
libmysql

 
Emulated PS
Native PS
Emulated PS
Native […]

PDO_MYSQLND: R[a|u]mbling and a breeze of progress

Wednesday, July 2nd, 2008

The modification of PDO_MYSQL to support the MySQL native driver for PHP (mysqlnd) is progressing. We are using the project title “PDO_MYSQLND” for the modification. The goal of PDO_MYSQLND is to provide a PDO driver for MySQL which can be compiled either against the MySQL Client Library or against the MySQL native driver for PHP. […]