Changes between Version 1 and Version 2 of Ticket #19324, comment 5
- Timestamp:
- 04/24/2012 07:57:49 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19324, comment 5
v1 v2 6 6 7 7 8 By default its '''false'''.Which then in ''wp-db.php'' I purpose the following change:8 Which then in ''wp-db.php'' I purpose the following change: 9 9 10 10 {{{ 11 11 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 ); 13 13 } 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 ); 15 15 } 16 16 }}}