Bug #77987 [Opn->Csd]: File missing/not created
| From: | cmb@php.net | Date: | Tue, 07 May 2019 22:33:12 +0000 |
| Subject: | Bug #77987 [Opn->Csd]: File missing/not created | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-220761@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77987&edit=1
ID: 77987
Updated by: cmb@php.net
Reported by: v-altruo at microsoft dot com
Summary: File missing/not created
-Status: Open
+Status: Closed
Type: Bug
Package: Testing related
Operating System: Windows
PHP Version: 7.3.5
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks for reporting! This issue has recently been addressed[1];
the fixed test case will be shipped with the next PHP releases.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=9bf11045db09d87020c66c21e0a4df30f63c415d>
Previous Comments:
------------------------------------------------------------------------
[2019-05-07 21:17:58] v-altruo at microsoft dot com
Description:
------------
Fails across all builds. Used default settings for connecting to MySQL.
MySQL version: 5.7.25
Test file location: ext\pdo_mysql\tests\pdo_mysql___construct_uri-win32.phpt
Expected result:
----------------
Warning: PDO::__construct(file:%spdomuri.tst): failed to open stream: Invalid argument in %s on line
%d
[002] URI=uri:file:%spdomuri.tst, DSN=mysql%sdbname=%s, File=%spdomuri.tst (%d bytes,
'mysql%sdbname=%s'), invalid data source URI
Warning: PDO::__construct(file:%spdomuri.tst): failed to open stream: Invalid argument in %s on line
%d
[003] URI=uri:file:%spdomuri.tst, DSN=mysql%sdbname=%s, File=%spdomuri.tst (%d bytes,
'mysql%sdbname=letshopeinvalid%s'), chr(0) test, invalid data source URI
done!
Actual result:
--------------
Warning: PDO::__construct(file:..\pdomuri.tst): failed to open stream: No such file or directory in
..\pdo_mysql___construct_uri-win32.php on line 21
[002] URI=uri:file:..\pdomuri.tst, DSN=mysql:host=localhost;dbname=test, File=..\pdomuri.tst (32
bytes, 'mysql:host=localhost;dbname=test'), invalid data source URI
Warning: PDO::__construct(file:..\pdomuri.tst): failed to open stream: No such file or directory in
..\pdo_mysql___construct_uri-win32.php on line 38
[003] URI=uri:file:..\pdomuri.tst, DSN=mysql:host=localhost;dbname=test, File=..\pdomuri.tst (62
bytes, 'mysql:dbname=letshopeinvalid; mysql:host=localhost;dbname=test'), chr(0) test,
invalid data source URI
done!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77987&edit=1