diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-11-19 13:11:42 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-11-19 13:11:42 +0100 |
commit | efab095c7f8f044525ce7d2313fad5f86032baab (patch) | |
tree | b76a2e9695f5ee3dd1c162668af727221d495745 | |
parent | e730c91688226931aba17fc1ba790bda7e156830 (diff) | |
download | mariadb-git-efab095c7f8f044525ce7d2313fad5f86032baab.tar.gz |
MDEV-5236 Status variables are not all listed alphabetically
sort xtradb status variables
-rw-r--r-- | storage/xtradb/handler/ha_innodb.cc | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/storage/xtradb/handler/ha_innodb.cc b/storage/xtradb/handler/ha_innodb.cc index 4add8a0be97..92f5b03e663 100644 --- a/storage/xtradb/handler/ha_innodb.cc +++ b/storage/xtradb/handler/ha_innodb.cc @@ -700,32 +700,32 @@ innobase_commit_low( static SHOW_VAR innodb_status_variables[]= { {"adaptive_hash_cells", (char*) &export_vars.innodb_adaptive_hash_cells, SHOW_LONG}, - {"adaptive_hash_heap_buffers", - (char*) &export_vars.innodb_adaptive_hash_heap_buffers, SHOW_LONG}, {"adaptive_hash_hash_searches", (char*) &export_vars.innodb_adaptive_hash_hash_searches, SHOW_LONG}, + {"adaptive_hash_heap_buffers", + (char*) &export_vars.innodb_adaptive_hash_heap_buffers, SHOW_LONG}, {"adaptive_hash_non_hash_searches", (char*) &export_vars.innodb_adaptive_hash_non_hash_searches, SHOW_LONG}, {"background_log_sync", (char*) &export_vars.innodb_background_log_sync, SHOW_LONG}, - {"buffer_pool_pages_data", - (char*) &export_vars.innodb_buffer_pool_pages_data, SHOW_LONG}, {"buffer_pool_bytes_data", (char*) &export_vars.innodb_buffer_pool_bytes_data, SHOW_LONG}, - {"buffer_pool_pages_dirty", - (char*) &export_vars.innodb_buffer_pool_pages_dirty, SHOW_LONG}, {"buffer_pool_bytes_dirty", (char*) &export_vars.innodb_buffer_pool_bytes_dirty, SHOW_LONG}, + {"buffer_pool_pages_data", + (char*) &export_vars.innodb_buffer_pool_pages_data, SHOW_LONG}, + {"buffer_pool_pages_dirty", + (char*) &export_vars.innodb_buffer_pool_pages_dirty, SHOW_LONG}, {"buffer_pool_pages_flushed", (char*) &export_vars.innodb_buffer_pool_pages_flushed, SHOW_LONG}, - {"buffer_pool_pages_LRU_flushed", - (char*) &export_vars.innodb_buffer_pool_pages_LRU_flushed, SHOW_LONG}, {"buffer_pool_pages_free", (char*) &export_vars.innodb_buffer_pool_pages_free, SHOW_LONG}, #ifdef UNIV_DEBUG {"buffer_pool_pages_latched", (char*) &export_vars.innodb_buffer_pool_pages_latched, SHOW_LONG}, #endif /* UNIV_DEBUG */ + {"buffer_pool_pages_LRU_flushed", + (char*) &export_vars.innodb_buffer_pool_pages_LRU_flushed, SHOW_LONG}, {"buffer_pool_pages_made_not_young", (char*) &export_vars.innodb_buffer_pool_pages_made_not_young, SHOW_LONG}, {"buffer_pool_pages_made_young", @@ -736,12 +736,12 @@ static SHOW_VAR innodb_status_variables[]= { (char*) &export_vars.innodb_buffer_pool_pages_old, SHOW_LONG}, {"buffer_pool_pages_total", (char*) &export_vars.innodb_buffer_pool_pages_total, SHOW_LONG}, - {"buffer_pool_read_ahead_rnd", - (char*) &export_vars.innodb_buffer_pool_read_ahead_rnd, SHOW_LONG}, {"buffer_pool_read_ahead", (char*) &export_vars.innodb_buffer_pool_read_ahead, SHOW_LONG}, {"buffer_pool_read_ahead_evicted", (char*) &export_vars.innodb_buffer_pool_read_ahead_evicted, SHOW_LONG}, + {"buffer_pool_read_ahead_rnd", + (char*) &export_vars.innodb_buffer_pool_read_ahead_rnd, SHOW_LONG}, {"buffer_pool_read_requests", (char*) &export_vars.innodb_buffer_pool_read_requests, SHOW_LONG}, {"buffer_pool_reads", @@ -756,6 +756,8 @@ static SHOW_VAR innodb_status_variables[]= { (char*) &export_vars.innodb_checkpoint_max_age, SHOW_LONG}, {"checkpoint_target_age", (char*) &export_vars.innodb_checkpoint_target_age, SHOW_LONG}, + {"current_row_locks", + (char*) &export_vars.innodb_current_row_locks, SHOW_LONG}, {"data_fsyncs", (char*) &export_vars.innodb_data_fsyncs, SHOW_LONG}, {"data_pending_fsyncs", @@ -778,6 +780,8 @@ static SHOW_VAR innodb_status_variables[]= { (char*) &export_vars.innodb_dblwr_writes, SHOW_LONG}, {"deadlocks", (char*) &export_vars.innodb_deadlocks, SHOW_LONG}, + {"descriptors_memory", + (char*) &export_vars.innodb_descriptors_memory, SHOW_LONG}, {"dict_tables", (char*) &export_vars.innodb_dict_tables, SHOW_LONG}, {"have_atomic_builtins", @@ -860,12 +864,20 @@ static SHOW_VAR innodb_status_variables[]= { (char*) &export_vars.innodb_pages_written, SHOW_LONG}, {"purge_trx_id", (char*) &export_vars.innodb_purge_trx_id, SHOW_LONGLONG}, +#ifdef UNIV_DEBUG + {"purge_trx_id_age", + (char*) &export_vars.innodb_purge_trx_id_age, SHOW_LONG}, +#endif /* UNIV_DEBUG */ {"purge_undo_no", (char*) &export_vars.innodb_purge_undo_no, SHOW_LONGLONG}, +#ifdef UNIV_DEBUG + {"purge_view_trx_id_age", + (char*) &export_vars.innodb_purge_view_trx_id_age, SHOW_LONG}, +#endif /* UNIV_DEBUG */ + {"read_views_memory", + (char*) &export_vars.innodb_read_views_memory, SHOW_LONG}, {"row_lock_current_waits", (char*) &export_vars.innodb_row_lock_current_waits, SHOW_LONG}, - {"current_row_locks", - (char*) &export_vars.innodb_current_row_locks, SHOW_LONG}, {"row_lock_time", (char*) &export_vars.innodb_row_lock_time, SHOW_LONGLONG}, {"row_lock_time_avg", @@ -882,10 +894,6 @@ static SHOW_VAR innodb_status_variables[]= { (char*) &export_vars.innodb_rows_read, SHOW_LONG}, {"rows_updated", (char*) &export_vars.innodb_rows_updated, SHOW_LONG}, - {"read_views_memory", - (char*) &export_vars.innodb_read_views_memory, SHOW_LONG}, - {"descriptors_memory", - (char*) &export_vars.innodb_descriptors_memory, SHOW_LONG}, {"s_lock_os_waits", (char*) &export_vars.innodb_s_lock_os_waits, SHOW_LONGLONG}, {"s_lock_spin_rounds", @@ -900,12 +908,6 @@ static SHOW_VAR innodb_status_variables[]= { (char*) &export_vars.innodb_x_lock_spin_rounds, SHOW_LONGLONG}, {"x_lock_spin_waits", (char*) &export_vars.innodb_x_lock_spin_waits, SHOW_LONGLONG}, -#ifdef UNIV_DEBUG - {"purge_trx_id_age", - (char*) &export_vars.innodb_purge_trx_id_age, SHOW_LONG}, - {"purge_view_trx_id_age", - (char*) &export_vars.innodb_purge_view_trx_id_age, SHOW_LONG}, -#endif /* UNIV_DEBUG */ {NullS, NullS, SHOW_LONG} }; |