Changeset 21609 for trunk/wp-includes/wp-db.php
- Timestamp:
- 08/24/2012 05:44:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r21521 r21609 1136 1136 $this->is_mysql = true; 1137 1137 1138 $new_link = defined( 'MYSQL_NEW_LINK' ) ? MYSQL_NEW_LINK : true; 1139 $client_flags = defined( 'MYSQL_CLIENT_FLAGS' ) ? MYSQL_CLIENT_FLAGS : 0; 1140 1138 1141 if ( WP_DEBUG ) { 1139 $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, true);1142 $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); 1140 1143 } else { 1141 $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, true);1144 $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); 1142 1145 } 1143 1146
Note: See TracChangeset
for help on using the changeset viewer.