summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-08-21 20:18:39 +0300
committerMonty <monty@mariadb.org>2016-08-21 20:18:39 +0300
commit6f31dd093a245a21a69fd990f947611a5dcfb77b (patch)
treed9210599ff8956c39f9b1bc1e247f88c3151a990 /sql/sql_class.h
parent8d5a0d650b123e963d5fead2424783a9b52da395 (diff)
downloadmariadb-git-6f31dd093a245a21a69fd990f947611a5dcfb77b.tar.gz
Added new status variables to make it easier to debug certain problems:
- Handler_read_retry - Update_scan - Delete_scan
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 8820205e8a2..f56ffbc1cc3 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -666,9 +666,11 @@ typedef struct system_status_var
ulong ha_read_key_count;
ulong ha_read_next_count;
ulong ha_read_prev_count;
+ ulong ha_read_retry_count;
ulong ha_read_rnd_count;
ulong ha_read_rnd_next_count;
ulong ha_read_rnd_deleted_count;
+
/*
This number doesn't include calls to the default implementation and
calls made by range access. The intent is to count only calls made by
@@ -702,6 +704,8 @@ typedef struct system_status_var
ulong select_range_count_;
ulong select_range_check_count_;
ulong select_scan_count_;
+ ulong update_scan_count;
+ ulong delete_scan_count;
ulong executed_triggers;
ulong long_query_count;
ulong filesort_merge_passes_;