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

Bug #46274 pdo_pgsql - Segfault when using PDO::ATTR_STRINGIFY_FETCHES and blob
Submitted: 2008-10-11 00:52:24 Modified: 2009-04-23 13:26:42
From: felipe Assigned: mbeccati
Status: Closed Package: PDO related
PHP Version: 5.3CVS-2008-10-11 (CVS) 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)
004+ #1 /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/bug46274.php(3): 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
001- array(2) {
002- ["blob1"]=>
003- string(3) "foo"
004- [0]=>
005- string(3) "foo"
006- }
007- array(2) {
008- ["blob1"]=>
009- string(0) ""
010- [0]=>
011- string(0) ""
012- }
013- array(2) {
014- ["blob1"]=>
015- string(0) ""
016- [0]=>
017- string(0) ""
018- }
019- array(2) {
020- ["blob1"]=>
021- NULL
022- [0]=>
023- NULL
024- }