|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patches62379.patch.txt (last revision 2012-07-12 22:02 UTC by mattficken@php.net)long_columns.phpt.patch (last revision 2012-06-21 06:42 UTC by mattficken) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-21 11:35 UTC] ab@php.net
[2012-07-11 23:01 UTC] mattficken@php.net
[2012-07-12 22:02 UTC] mattficken@php.net
[2012-07-12 22:12 UTC] mattficken@php.net
[2012-07-13 13:46 UTC] ab@php.net
[2012-07-14 09:39 UTC] ab@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: ab
[2012-07-14 09:39 UTC] ab@php.net
[2014-10-07 23:23 UTC] stas@php.net
[2014-10-07 23:34 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 07:00:01 2025 UTC |
Description: ------------ There is a logic error in common.phpt where it can return $config without defining $CONFIG['ENV']['PDOTEST_DSN'] in which case pdotest.inc fails. The patch fixes this and adds a check to long_columns.phpt to skip the test if PDOTEST_DSN is not defined. Actual result: -------------- 001+ Notice: Undefined index: ENV in C:\Users\matt\Downloads\php-test-pack-5.4- nts-windows-vc9-x86-r041dd77\ext\pdo\tests\pdo_test.inc on line 15 001- Finished 002+ 003+ Warning: Invalid argument supplied for foreach() in C:\Users\matt\Downloads\php-test-pack-5.4-nts-windows-vc9-x86- r041dd77\ext\pdo\tests\pdo_test.inc on line 15 004+ 005+ Notice: Undefined index: ENV in C:\Users\matt\Downloads\php-test-pack-5.4- nts-windows-vc9-x86-r041dd77\ext\pdo\tests\pdo_test.inc on line 72 006+ 007+ Warning: Invalid argument supplied for foreach() in C:\Users\matt\Downloads\php-test-pack-5.4-nts-windows-vc9-x86- r041dd77\ext\pdo\tests\pdo_test.inc on line 72 008+ 009+ Fatal error: Uncaught exception 'PDOException' with message 'invalid data source name' in C:\Users\matt\Downloads\php-test-pack-5.4-nts-windows-vc9-x86- r041dd77\ext\pdo\tests\pdo_test.inc:35 010+ Stack trace: 011+ #0 C:\Users\matt\Downloads\php-test-pack-5.4-nts-windows-vc9-x86- r041dd77\ext\pdo\tests\pdo_test.inc(35): PDO->__construct('', NULL, NULL, NULL) 012+ #1 C:\Users\matt\Downloads\php-test-pack-5.4-nts-windows-vc9-x86- r041dd77\ext\pdo\tests\pdo_test.inc(75): PDOTest::factory() 013+ #2 C:\Users\matt\Downloads\php-test-pack-5.4-nts-windows-vc9-x86- r041dd77\ext\pdo_odbc\tests\long_columns.php(3): PDOTest::test_factory('ext/pdo_odbc/te...') 014+ #3 {main} 015+ thrown in C:\Users\matt\Downloads\php-test-pack-5.4-nts-windows-vc9-x86- r041dd77\ext\pdo\tests\pdo_test.inc on line 35