diff options
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index e84750369f9..5ab40021732 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -5876,6 +5876,7 @@ void mysql_reset_thd_for_next_command(THD *thd, my_bool calculate_userstat) thd->total_warn_count=0; // Warnings for this query thd->rand_used= 0; thd->sent_row_count= thd->examined_row_count= 0; + thd->accessed_rows_and_keys= 0; /* Copy data for user stats */ if ((thd->userstat_running= calculate_userstat)) |