ID: 35431 Updated by: [EMAIL PROTECTED] Reported By: stochnagara at hotmail dot com -Status: Open +Status: Closed Bug Type: PDO related Operating System: windows xp PHP Version: 5.1.0 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-11-27 21:42:33] stochnagara at hotmail dot com Description: ------------ PHP crashes when FETCH_LAZY is used in combination with fetchAll. See the sample below. Reproduce code: --------------- <? $pdo = new PDO("sqlite::memory:"); $pdo->query ("CREATE TABLE test (a integer primary key, b text, c integer)"); $pdo->query("insert into test (b, c) values (1, 2)"); var_dump($pdo->query ("select a, b, c from test")->fetchAll(PDO::FETCH_LAZY)); Expected result: ---------------- no error Actual result: -------------- Apache crashes ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35431&edit=1