Bug #71491 [Com]: MYSQL_ATTR_USE_BUFFERED_QUERY doesn't work with PDO::prepare()
| From: | ads at moneymail dot de | Date: | Sat, 02 Jul 2016 20:16:06 +0000 |
| Subject: | Bug #71491 [Com]: MYSQL_ATTR_USE_BUFFERED_QUERY doesn't work with PDO::prepare() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201995@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71491&edit=1
ID: 71491
Comment by: ads at moneymail dot de
Reported by: ads at moneymail dot de
Summary: MYSQL_ATTR_USE_BUFFERED_QUERY doesn't work with
PDO::prepare()
Status: Open
Type: Bug
Package: PDO related
Operating System: Ubuntu 15.10
PHP Version: 5.6.17
Block user comment: N
Private report: N
New Comment:
The other bug's reporter was told to test some PHP 5.4 snapshot.
I for myself noticed the same bug under PHP 5.6.17 which should be enough to prove the bug is still
existent.
Please also compare the dates both bugs were filed.
Previous Comments:
------------------------------------------------------------------------
[2016-07-01 21:23:50] cmb@php.net
Re-report of bug #55003, which had been closed due to no feedback
being given.
------------------------------------------------------------------------
[2016-02-01 15:15:22] ads at moneymail dot de
Description:
------------
To keep long things short:
This is just a reopening of #55003: PDO prepare() ignores MYSQL_ATTR_USE_BUFFERED_QUERY
The very same behaviour described in #55003 can still be observed.
Setting the attribute on PDO instance level however works as expected, but obviously leaks the
convenience of native support of setting it on query level.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71491&edit=1