Bug #67305 [Opn->Csd]: pdo_mysql_get_attribute.phpt - incorrect EXPECTATION that hide the real problem
| From: | cmb@php.net | Date: | Mon, 30 Sep 2019 21:13:55 +0000 |
| Subject: | Bug #67305 [Opn->Csd]: pdo_mysql_get_attribute.phpt - incorrect EXPECTATION that hide the real problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222966@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67305&edit=1
ID: 67305
Updated by: cmb@php.net
Reported by: dmitry@php.net
Summary: pdo_mysql_get_attribute.phpt - incorrect EXPECTATION
that hide the real problem
-Status: Open
+Status: Closed
Type: Bug
Package: PDO MySQL
Operating System: *
PHP Version: master-Git-2014-05-19 (Git)
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The test has been fixed with commit b38bb26[1], so this ticket can
be closed.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=b38bb265d440483b3465d30f2c12e7be3167ada4>
Previous Comments:
------------------------------------------------------------------------
[2014-05-19 18:39:38] dmitry@php.net
Description:
------------
The following line must not be expected in pdo_mysql_get_attribute.phpt
[001] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value from
integer to boolean, test will not work properly
PDO::setAttribute() shouldn't change the passed value.
PDO probably does it unintentionally.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67305&edit=1