#44135 [Com]: PDO MySQL does not support CLIENT_FOUND_ROWS
| From: | lordbyron at sogetthis dot com | Date: | Fri, 02 Oct 2009 19:48:51 +0000 |
| Subject: | #44135 [Com]: PDO MySQL does not support CLIENT_FOUND_ROWS | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143198@lists.php.net to get a copy of this message | ||
ID: 44135
Comment by: lordbyron at sogetthis dot com
Reported By: chx1975 at gmail dot com
Status: To be documented
Bug Type: PDO related
Operating System: Linux
PHP Version: 5.2.5
Assigned To: johannes
New Comment:
Still doesn't exist in 5.2.11, nor does something which would
accomplish the same goal.
Previous Comments:
------------------------------------------------------------------------
[2009-09-22 01:17:25] sadrak at sogetthis dot com
Verified this constant still does not exist in php 5.2.10.
------------------------------------------------------------------------
[2009-08-05 18:54:26] lordbyron at sogetthis dot com
Bug still occurs in php 5.2.9, on 64 bit linux. Appears that constant
PDO::MYSQL_ATTR_FOUND_ROWS was not added to this version or removed as
PDO driver does not recognize it.
------------------------------------------------------------------------
[2009-02-21 23:48:51] kamazee at gmail dot com
This issue is still actual for stable releases _after_ the PHP 5.2.5
(tested 5.2.6 for Linux and 5.2.8 for Windows).
Hope, changes will appear in stable branch soon.
------------------------------------------------------------------------
[2008-10-27 18:36:12] johannes@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
New attributes PDO::MYSQL_ATTR_FOUND_ROWS and
PDO::MYSQL_ATTR_IGNORE_SPACE added which can be used while connecting:
$p = new PDO($dsn, $u, $p,
array(PDO::MYSQL_ATTR_FOUND_ROWS => true,
PDO::MYSQL_ATTR_IGNORE_SPACE=> true));
------------------------------------------------------------------------
[2008-10-23 19:55:24] chx1975 at gmail dot com
I renamed it to what MySQL calls it. Please just drop the defines then,
I copied them from mysql_com.h -- sorry, I am a n00b in doing this.
Please also drop any client flags you do not feel useful.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44135
--
Edit this bug report at http://bugs.php.net/?id=44135&edit=1