Changeset 6464
- Timestamp:
- 12/22/2007 06:24:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r6460 r6464 77 77 } 78 78 79 $this->ready = true; 80 79 81 if ( !empty($this->charset) && version_compare(mysql_get_server_info(), '4.1.0', '>=') ) 80 82 $this->query("SET NAMES '$this->charset'"); 81 83 82 84 $this->select($dbname); 83 $this->ready = true;84 85 } 85 86 … … 114 115 function select($db) { 115 116 if (!@mysql_select_db($db, $this->dbh)) { 117 $this->ready = false; 116 118 $this->bail(" 117 119 <h1>Can’t select database</h1>
Note: See TracChangeset
for help on using the changeset viewer.