Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #19324, comment 5


Ignore:
Timestamp:
04/24/2012 07:57:49 PM (11 years ago)
Author:
JustinK101
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19324, comment 5

    v1 v2  
    66
    77
    8 By default its '''false'''. Which then in ''wp-db.php'' I purpose the following change:
     8Which then in ''wp-db.php'' I purpose the following change:
    99
    1010{{{
    1111        if ( WP_DEBUG ) {
    12                 $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, true, WP_MYSQL_CLIENT_COMPRESS ? WP_MYSQL_CLIENT_COMPRESS : null );
     12                $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, true, WP_MYSQL_CLIENT_COMPRESS ? WP_MYSQL_CLIENT_COMPRESS : 0 );
    1313        } else {
    14                 $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, true, WP_MYSQL_CLIENT_COMPRESS ? WP_MYSQL_CLIENT_COMPRESS : null );
     14                $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, true, WP_MYSQL_CLIENT_COMPRESS ? WP_MYSQL_CLIENT_COMPRESS : 0 );
    1515        }
    1616}}}