summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <timour@askmonty.org>2012-03-12 00:45:18 +0200
committerunknown <timour@askmonty.org>2012-03-12 00:45:18 +0200
commitecbd868f58db42e52a2dd8f46c6ee39dc4425cc5 (patch)
tree56fd7bd0b23d301d39db1b98d969e1fd5942a665 /sql/sql_parse.cc
parent96a21ab324d02b53cbc7ee8d4585d66eda6dd429 (diff)
parent8aebd44e0ea9c4ae6f573f1ece27b276452122b8 (diff)
downloadmariadb-git-ecbd868f58db42e52a2dd8f46c6ee39dc4425cc5.tar.gz
Merged the implementation of MDEV-28 LIMIT ROWS EXAMINED into MariaDB 5.5.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index d1b2eade165..e0b2acd199d 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -5460,6 +5460,7 @@ void THD::reset_for_next_command(bool calculate_userstat)
thd->warning_info->reset_for_next_command();
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))