1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Merged the implementation of MDEV-28 LIMIT ROWS EXAMINED into MariaDB 5.5.

This commit is contained in:
unknown
2012-03-12 00:45:18 +02:00
18 changed files with 1655 additions and 55 deletions

View File

@ -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))