Created attachment 1207088 [details] Test script to reproduce the issue listed in the Description of problem section. Description of problem: A customer hits the issue described in the following upstream bug report and he wants us to backport the patch to fix it. https://bugs.php.net/bug.php?id=64328 https://bugs.php.net/bug.php?id=64522 Version-Release number of selected component (if applicable): php-5.4.16-36.3.el7_2.x86_64 php-pdo-5.4.16-36.3.el7_2.x86_64 How reproducible: Always Steps to Reproduce: Run the attached test script provided by the customer Actual results: # php testit.php --------------------------------------------------------------------------------------------------------------------------------------- No results are returned from dblib PDO::query() + PDOStatement::fetchAll() if the same variable is re-used from a previous query/fetch. --------------------------------------------------------------------------------------------------------------------------------------- Result after first query execution : Array ( [0] => Array ( [result] => 2 [0] => 2 ) ) Result after second query execution : Array ( ) Expected results: Results are returned from dblib PDO::query() + PDOStatement::fetchAll() if the different variables are used for query/fetch. ---------------------------------------------------------------------------------------------------------------------------- Result after first query execution : Array ( [0] => Array ( [result] => 2 [0] => 2 ) ) Result after second query execution : Array ( [0] => Array ( [result] => 2 [0] => 2 ) ) Additional info:
These upstream bugs are related to pdo_dblib which is not provides in RHEL, so which cannot be supported. Changing component to EPEL / php-extras which provides this extension.
php-extras-5.4.16-5.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-5529730b10
*** Bug 1381905 has been marked as a duplicate of this bug. ***
@Dmitry, thanks for this quick fix (you was faster than me)
php-extras-5.4.16-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
Remi, some regression reported: bug #1390201 Could you look onto it?
@Dmitry, I need a Microsoft SQL server... not so easy for me...
php-extras-5.4.16-6.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-f876dc4049
php-extras-5.4.16-7.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-f876dc4049
php-extras-5.4.16-7.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.