Have wpdb::flush() reset more variables.
git-svn-id: https://develop.svn.wordpress.org/trunk@24459 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
473bef521b
commit
3c5073e119
@ -1117,6 +1117,8 @@ class wpdb {
|
||||
$this->last_result = array();
|
||||
$this->col_info = null;
|
||||
$this->last_query = null;
|
||||
$this->rows_affected = $this->num_rows = $this->insert_id = 0;
|
||||
$this->last_error = '';
|
||||
|
||||
if ( is_resource( $this->result ) )
|
||||
mysql_free_result( $this->result );
|
||||
|
Loading…
Reference in New Issue
Block a user