ID: 44983 Updated by: [EMAIL PROTECTED] Reported By: alejosimon at gmail dot com -Status: Open +Status: Bogus Bug Type: SQLite related Operating System: windows XP SP2 PHP Version: 5.2.6 -Assigned To: +Assigned To: pajoye New Comment:
An error was introduced in 5.2.5 (typo), the version actually used was 3.3.7 just like in 5.2.6. LibSqlite being bundled in PHP, we were wondering what went wrong, see these two commits: http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_sqlite/sqlite/VERSION?view=markup&pathrev=php_5_2_5 http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_sqlite/sqlite/VERSION?view=markup&pathrev=php_5_2_6 Yes, it can be confusing, thanks to Liz for the quick search in the commit logs :) Previous Comments: ------------------------------------------------------------------------ [2008-05-13 19:46:01] alejosimon at gmail dot com Description: ------------ in the 5.2.6 php version inluded the PDO_sqlite ext version 3.3.7, and the 5.2.5 php version the pdo sqlite driver version 3.3.17 ???? why???? single but very important question. At. Alejo. Reproduce code: --------------- <?php $db = new PDO( "sqlite::memory:" ) ; $res = $db->query( "SELECT sqlite_version()" ) ; print_r( $res->fetchAll() ); ?> Expected result: ---------------- Array ( [0] => Array ( [sqlite_version()] => 3.3.17undefined [0] => 3.3.17undefined ) ) Actual result: -------------- Array ( [0] => Array ( [sqlite_version()] => 3.3.7undefined [0] => 3.3.7undefined ) ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44983&edit=1