Changeset 32515 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 05/19/2015 08:29:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r32375 r32515 2894 2894 2895 2895 if ( $this->use_mysqli ) { 2896 for ( $i = 0; $i < @mysqli_num_fields( $this->result ); $i++ ) { 2896 $num_fields = @mysqli_num_fields( $this->result ); 2897 for ( $i = 0; $i < $num_fields; $i++ ) { 2897 2898 $this->col_info[ $i ] = @mysqli_fetch_field( $this->result ); 2898 2899 } 2899 2900 } else { 2900 for ( $i = 0; $i < @mysql_num_fields( $this->result ); $i++ ) { 2901 $num_fields = @mysql_num_fields( $this->result ); 2902 for ( $i = 0; $i < $num_fields; $i++ ) { 2901 2903 $this->col_info[ $i ] = @mysql_fetch_field( $this->result, $i ); 2902 2904 }
Note: See TracChangeset
for help on using the changeset viewer.