Bug #61194 [Opn->Asn]: PDO should export compression flag with myslqnd
| From: | johannes@php.net | Date: | Mon, 27 Feb 2012 14:17:55 +0000 |
| Subject: | Bug #61194 [Opn->Asn]: PDO should export compression flag with myslqnd | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-167887@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61194&edit=1
ID: 61194
Updated by: johannes@php.net
Reported by: johannes@php.net
Summary: PDO should export compression flag with myslqnd
-Status: Open
+Status: Assigned
Type: Bug
Package: MySQL related
Operating System: *
PHP Version: trunk-SVN-2012-02-27 (SVN)
-Assigned To:
+Assigned To: mysql
Block user comment: N
Private report: N
New Comment:
To be committed after 5.4.0
Previous Comments:
------------------------------------------------------------------------
[2012-02-27 14:17:03] johannes@php.net
The following patch has been added/updated:
Patch Name: pdo_myslqnd_compression.diff
Revision: 1330352223
URL: https://bugs.php.net/patch-display.php?bug=61194&patch=pdo_myslqnd_compression.diff&revision=1330352223
------------------------------------------------------------------------
[2012-02-27 14:16:47] johannes@php.net
Description:
------------
pdo_mysql.c has this code:
107 #ifndef PDO_USE_MYSQLND
/* ... */
111 REGISTER_PDO_CLASS_CONST_LONG("MYSQL_ATTR_COMPRESS",
(long)PDO_MYSQL_ATTR_COMPRESS);
112 #endif
This attribute should be provided for mysqlnd builds, too, as compression is supported in mysqlnd.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61194&edit=1