Ticket #4900: nest-queries.diff
| File nest-queries.diff, 741 bytes (added by , 19 years ago) |
|---|
-
wp-includes/wp-db.php
227 227 $return_val = $this->rows_affected; 228 228 } else { 229 229 $i = 0; 230 $this->col_info = array(); 230 231 while ($i < @mysql_num_fields($this->result)) { 231 232 $this->col_info[$i] = @mysql_fetch_field($this->result); 232 233 $i++; 233 234 } 234 235 $num_rows = 0; 236 $this->last_result = array(); 235 237 while ( $row = @mysql_fetch_object($this->result) ) { 236 238 $this->last_result[$num_rows] = $row; 237 239 $num_rows++; … … 428 430 429 431 if ( ! isset($wpdb) ) 430 432 $wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST); 431 ?> 432 No newline at end of file 433 ?>