Changeset 31090 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 01/08/2015 07:04:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r31051 r31090 1367 1367 mysqli_next_result( $this->dbh ); 1368 1368 } 1369 } else 1369 } elseif ( is_resource( $this->result ) ) { 1370 1370 mysql_free_result( $this->result ); 1371 1371 } … … 1436 1436 if ( $this->has_connected ) { 1437 1437 $attempt_fallback = false; 1438 } else 1438 } elseif ( defined( 'WP_USE_EXT_MYSQL' ) && ! WP_USE_EXT_MYSQL ) { 1439 1439 $attempt_fallback = false; 1440 } else 1440 } elseif ( ! function_exists( 'mysql_connect' ) ) { 1441 1441 $attempt_fallback = false; 1442 1442 } … … 1476 1476 1477 1477 return false; 1478 } else 1478 } elseif ( $this->dbh ) { 1479 1479 $this->has_connected = true; 1480 1480 $this->set_charset( $this->dbh ); … … 1674 1674 $num_rows++; 1675 1675 } 1676 } else 1676 } elseif ( is_resource( $this->result ) ) { 1677 1677 while ( $row = @mysql_fetch_object( $this->result ) ) { 1678 1678 $this->last_result[$num_rows] = $row;
Note: See TracChangeset
for help on using the changeset viewer.