Edit report at http://bugs.php.net/bug.php?id=51870&edit=1
ID: 51870 Comment by: dave at hobodave dot com Reported by: d...@php.net Summary: PDO::fetchAll after a PDO::execute with bindings lead to a segv. Status: Closed Type: Bug Package: PDO related Operating System: Mac OS X PHP Version: 6SVN-2010-05-20 (SVN) Assigned To: mysql New Comment: This still exists in the latest snapshot php5.3-201005211630.tar.gz Test ---- <?php $pdo = new PDO('mysql:dbname=test;host=localhost', 'root', ''); $stm = $pdo->prepare('SHOW FULL TABLES'); $stm->execute(); $stm->fetchAll(); Previous Comments: ------------------------------------------------------------------------ [2010-05-21 13:09:59] and...@php.net Fixed in SVN, thank you for your report! ------------------------------------------------------------------------ [2010-05-21 13:09:30] and...@php.net Automatic comment from SVN on behalf of andrey Revision: http://svn.php.net/viewvc/?view=revision&revision=299574 Log: Fix for Bug #51870 PDO::fetchAll after a PDO::execute with bindings lead to a segv. It is only in unreleased code and thus doesn't deserve a NEWS entry ------------------------------------------------------------------------ [2010-05-21 09:21:48] d...@php.net Hunting down the bug it seems that mysqlnd.collect_memory_statistics = On causes troubles. ------------------------------------------------------------------------ [2010-05-20 13:46:45] d...@php.net Sorry I forgot to add my configure: './configure' \ '--with-mysql=mysqlnd' \ '--with-pdo-mysql=mysqlnd' \ ------------------------------------------------------------------------ [2010-05-20 13:43:54] m...@php.net erm, this should have been http://snaps.php.net/php-trunk-latest.tar.gz ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=51870 -- Edit this bug report at http://bugs.php.net/bug.php?id=51870&edit=1