Test: /ext/pdo_pgsql/tests/bug36727.phpt - Version 7.0.33-dev        

Bug #36727 needless bindValue make php core dump
Submitted: 2006-03-13 22:56:16 Modified: 2006-03-17 23:19:37
From: valiak Assigned:
Status: Closed Package: PDO related
PHP Version: 5.1.2 OS: linux

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc:35
002+ Stack trace:
003+ #0 /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
001- Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %sbug36727.php on line %d
002- bool(false)
003- Done
004+ #1 /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/bug36727.php(4): PDOTest::test_factory('/home/timo/proj...')
006+ #3 {main}
007+ thrown in /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc on line 35