Edit report at https://bugs.php.net/bug.php?id=61194&edit=1

 ID:                 61194
 Patch added by:     johan...@php.net
 Reported by:        johan...@php.net
 Summary:            PDO should export compression flag with myslqnd
 Status:             Open
 Type:               Bug
 Package:            MySQL related
 Operating System:   *
 PHP Version:        trunk-SVN-2012-02-27 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[2012-02-27 14:16:47] johan...@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

Reply via email to