Ticket #21533: 21533.patch
File 21533.patch, 595 bytes (added by , 13 years ago) |
---|
-
wp-includes/wp-db.php
563 563 if ( 'col_info' == $var ) 564 564 $this->load_col_info(); 565 565 566 if ( ! isset( $this->$var ) ) 567 return null; 568 566 569 return $this->$var; 567 570 } 568 571 … … 1076 1079 $this->last_result = array(); 1077 1080 $this->col_info = null; 1078 1081 $this->last_query = null; 1079 @mysql_free_result( $this->result ); 1082 1083 if ( is_resource( $this->result ) ) 1084 mysql_free_result( $this->result ); 1080 1085 } 1081 1086 1082 1087 /**