Test: /ext/pdo_pgsql/tests/bug62593.phpt - Version 7.2.20        

Bug #62593 Emulate prepares behave strangely with PARAM_BOOL
Submitted: 2012-07-18 10:04:51 Modified: 2012-10-30 14:45:29
From: mascione Assigned: willfitch
Status: Closed Package: PDO related
PHP Version: 5.3.14 OS: Ubuntu 10.04

There are 2 different diffs reported by users for this test.

Count Diff
2 (67%)
001+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc:35
002+ Stack trace:
003+ #0 /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
004+ #1 /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/bug62593.php(3): PDOTest::test_factory('/usr/local/src/...')
001- bool(true)
002- bool(false)
003- bool(true)
004- bool(false)
005- No errors found
006+ #3 {main}
007+ thrown in /usr/local/src/php-7.2.20/ext/pdo/tests/pdo_test.inc on line 35
1 (33%)
001+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc:35
002+ Stack trace:
003+ #0 /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
004+ #1 /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/bug62593.php(3): PDOTest::test_factory('/home/plui/src/...')
001- bool(true)
002- bool(false)
003- bool(true)
004- bool(false)
005- No errors found
006+ #3 {main}
007+ thrown in /home/plui/src/php-7.2.20/ext/pdo/tests/pdo_test.inc on line 35