php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61194 PDO should export compression flag with myslqnd
Submitted: 2012-02-27 14:16 UTC Modified: 2012-03-05 23:48 UTC
From: johannes@php.net Assigned: mysql (profile)
Status: Closed Package: MySQL related
PHP Version: trunk-SVN-2012-02-27 (SVN) OS: *
Private report: No CVE-ID: None
 [2012-02-27 14:16 UTC] 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.


Patches

pdo_myslqnd_compression.diff (last revision 2012-02-27 14:17 UTC by johannes@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-02-27 14:17 UTC] 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:17 UTC] johannes@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mysql
 [2012-02-27 14:17 UTC] johannes@php.net
To be committed after 5.4.0
 [2012-03-05 23:48 UTC] johannes@php.net
-Status: Assigned +Status: Closed
 [2012-03-05 23:48 UTC] johannes@php.net
This bug has been fixed in SVN.

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/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-03-05 23:57 UTC] johannes@php.net
Automatic comment from SVN on behalf of johannes
Revision: http://svn.php.net/viewvc/?view=revision&revision=323930
Log: Fix bug #61194 PDO should export compression flag with myslqnd
 [2012-04-18 09:45 UTC] laruence@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=048f1fa092e772e9650a3043474bd347c4562d1c
Log: Fix bug #61194 PDO should export compression flag with myslqnd
 [2012-07-24 23:36 UTC] rasmus@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=048f1fa092e772e9650a3043474bd347c4562d1c
Log: Fix bug #61194 PDO should export compression flag with myslqnd
 [2013-11-17 09:33 UTC] laruence@php.net
Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=048f1fa092e772e9650a3043474bd347c4562d1c
Log: Fix bug #61194 PDO should export compression flag with myslqnd
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 08 22:01:27 2024 UTC