Changeset 4953 for trunk/wp-includes/wp-db.php
- Timestamp:
- 02/27/2007 03:24:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r4860 r4953 49 49 return $this->__construct($dbuser, $dbpassword, $dbname, $dbhost); 50 50 } 51 51 52 52 function __construct($dbuser, $dbpassword, $dbname, $dbhost) { 53 53 register_shutdown_function(array(&$this, "__destruct")); … … 80 80 81 81 function __destruct() { 82 return true; 82 return true; 83 83 } 84 84 … … 182 182 $this->result = @mysql_query($query, $this->dbh); 183 183 ++$this->num_queries; 184 184 185 185 if (SAVEQUERIES) 186 186 $this->queries[] = array( $query, $this->timer_stop() ); … … 256 256 if ( $query ) 257 257 $this->query($query); 258 258 259 259 if ( !isset($this->last_result[$y]) ) 260 260 return null;
Note: See TracChangeset
for help on using the changeset viewer.