diff options
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 72fd927cc1e..4a71b6776e3 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -313,7 +313,6 @@ struct system_variables ulong max_tmp_tables; ulong max_insert_delayed_threads; ulong min_examined_row_limit; - ulong multi_range_count; ulong myisam_repair_threads; ulong myisam_sort_buff_size; ulong myisam_stats_method; @@ -327,6 +326,14 @@ struct system_variables ulong optimizer_search_depth; /* A bitmap for switching optimizations on/off */ ulong optimizer_switch; + /* + Controls use of Engine-MRR: + 0 - auto, based on cost + 1 - force MRR when the storage engine is capable of doing it + 2 - disable MRR. + */ + ulong optimizer_use_mrr; + ulong preload_buff_size; ulong profiling_history_size; ulong query_cache_type; @@ -430,6 +437,13 @@ typedef struct system_status_var ulong ha_read_prev_count; ulong ha_read_rnd_count; ulong ha_read_rnd_next_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 + BatchedKeyAccess. + */ + ulong ha_multi_range_read_init_count; + ulong ha_rollback_count; ulong ha_update_count; ulong ha_write_count; |