Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
16e879e8
Commit
16e879e8
authored
Aug 30, 2005
by
paul@kite-hub.kitebird.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqld.cc:
Reorder out-of-order status variables
parent
939c7c68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
sql/mysqld.cc
sql/mysqld.cc
+6
-6
No files found.
sql/mysqld.cc
View file @
16e879e8
...
@@ -5798,13 +5798,13 @@ struct show_var_st status_vars[]= {
...
@@ -5798,13 +5798,13 @@ struct show_var_st status_vars[]= {
{
"Com_savepoint"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SAVEPOINT
]),
SHOW_LONG_STATUS
},
{
"Com_savepoint"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SAVEPOINT
]),
SHOW_LONG_STATUS
},
{
"Com_select"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SELECT
]),
SHOW_LONG_STATUS
},
{
"Com_select"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SELECT
]),
SHOW_LONG_STATUS
},
{
"Com_set_option"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SET_OPTION
]),
SHOW_LONG_STATUS
},
{
"Com_set_option"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SET_OPTION
]),
SHOW_LONG_STATUS
},
{
"Com_show_binlogs"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_BINLOGS
]),
SHOW_LONG_STATUS
},
{
"Com_show_binlog_events"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_BINLOG_EVENTS
]),
SHOW_LONG_STATUS
},
{
"Com_show_binlog_events"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_BINLOG_EVENTS
]),
SHOW_LONG_STATUS
},
{
"Com_show_binlogs"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_BINLOGS
]),
SHOW_LONG_STATUS
},
{
"Com_show_charsets"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_CHARSETS
]),
SHOW_LONG_STATUS
},
{
"Com_show_charsets"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_CHARSETS
]),
SHOW_LONG_STATUS
},
{
"Com_show_collations"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_COLLATIONS
]),
SHOW_LONG_STATUS
},
{
"Com_show_collations"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_COLLATIONS
]),
SHOW_LONG_STATUS
},
{
"Com_show_column_types"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_COLUMN_TYPES
]),
SHOW_LONG_STATUS
},
{
"Com_show_column_types"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_COLUMN_TYPES
]),
SHOW_LONG_STATUS
},
{
"Com_show_create_table"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_CREATE
]),
SHOW_LONG_STATUS
},
{
"Com_show_create_db"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_CREATE_DB
]),
SHOW_LONG_STATUS
},
{
"Com_show_create_db"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_CREATE_DB
]),
SHOW_LONG_STATUS
},
{
"Com_show_create_table"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_CREATE
]),
SHOW_LONG_STATUS
},
{
"Com_show_databases"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_DATABASES
]),
SHOW_LONG_STATUS
},
{
"Com_show_databases"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_DATABASES
]),
SHOW_LONG_STATUS
},
{
"Com_show_errors"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_ERRORS
]),
SHOW_LONG_STATUS
},
{
"Com_show_errors"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_ERRORS
]),
SHOW_LONG_STATUS
},
{
"Com_show_fields"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_FIELDS
]),
SHOW_LONG_STATUS
},
{
"Com_show_fields"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_FIELDS
]),
SHOW_LONG_STATUS
},
...
@@ -5827,12 +5827,12 @@ struct show_var_st status_vars[]= {
...
@@ -5827,12 +5827,12 @@ struct show_var_st status_vars[]= {
{
"Com_show_warnings"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_WARNS
]),
SHOW_LONG_STATUS
},
{
"Com_show_warnings"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SHOW_WARNS
]),
SHOW_LONG_STATUS
},
{
"Com_slave_start"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SLAVE_START
]),
SHOW_LONG_STATUS
},
{
"Com_slave_start"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SLAVE_START
]),
SHOW_LONG_STATUS
},
{
"Com_slave_stop"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SLAVE_STOP
]),
SHOW_LONG_STATUS
},
{
"Com_slave_stop"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_SLAVE_STOP
]),
SHOW_LONG_STATUS
},
{
"Com_stmt_
prepare"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_prepar
e
),
SHOW_LONG_STATUS
},
{
"Com_stmt_
close"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_clos
e
),
SHOW_LONG_STATUS
},
{
"Com_stmt_execute"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_execute
),
SHOW_LONG_STATUS
},
{
"Com_stmt_execute"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_execute
),
SHOW_LONG_STATUS
},
{
"Com_stmt_fetch"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_fetch
),
SHOW_LONG_STATUS
},
{
"Com_stmt_fetch"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_fetch
),
SHOW_LONG_STATUS
},
{
"Com_stmt_
send_long_data"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_send_long_data
),
SHOW_LONG_STATUS
},
{
"Com_stmt_
prepare"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_prepare
),
SHOW_LONG_STATUS
},
{
"Com_stmt_reset"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_reset
),
SHOW_LONG_STATUS
},
{
"Com_stmt_reset"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_reset
),
SHOW_LONG_STATUS
},
{
"Com_stmt_
close"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_close
),
SHOW_LONG_STATUS
},
{
"Com_stmt_
send_long_data"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stmt_send_long_data
),
SHOW_LONG_STATUS
},
{
"Com_truncate"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_TRUNCATE
]),
SHOW_LONG_STATUS
},
{
"Com_truncate"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_TRUNCATE
]),
SHOW_LONG_STATUS
},
{
"Com_unlock_tables"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_UNLOCK_TABLES
]),
SHOW_LONG_STATUS
},
{
"Com_unlock_tables"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_UNLOCK_TABLES
]),
SHOW_LONG_STATUS
},
{
"Com_update"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_UPDATE
]),
SHOW_LONG_STATUS
},
{
"Com_update"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_UPDATE
]),
SHOW_LONG_STATUS
},
...
@@ -5904,8 +5904,8 @@ struct show_var_st status_vars[]= {
...
@@ -5904,8 +5904,8 @@ struct show_var_st status_vars[]= {
{
"Select_range_check"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
select_range_check_count
),
SHOW_LONG_STATUS
},
{
"Select_range_check"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
select_range_check_count
),
SHOW_LONG_STATUS
},
{
"Select_scan"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
select_scan_count
),
SHOW_LONG_STATUS
},
{
"Select_scan"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
select_scan_count
),
SHOW_LONG_STATUS
},
{
"Slave_open_temp_tables"
,
(
char
*
)
&
slave_open_temp_tables
,
SHOW_LONG
},
{
"Slave_open_temp_tables"
,
(
char
*
)
&
slave_open_temp_tables
,
SHOW_LONG
},
{
"Slave_running"
,
(
char
*
)
0
,
SHOW_SLAVE_RUNNING
},
{
"Slave_retried_transactions"
,(
char
*
)
0
,
SHOW_SLAVE_RETRIED_TRANS
},
{
"Slave_retried_transactions"
,(
char
*
)
0
,
SHOW_SLAVE_RETRIED_TRANS
},
{
"Slave_running"
,
(
char
*
)
0
,
SHOW_SLAVE_RUNNING
},
{
"Slow_launch_threads"
,
(
char
*
)
&
slow_launch_threads
,
SHOW_LONG
},
{
"Slow_launch_threads"
,
(
char
*
)
&
slow_launch_threads
,
SHOW_LONG
},
{
"Slow_queries"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
long_query_count
),
SHOW_LONG_STATUS
},
{
"Slow_queries"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
long_query_count
),
SHOW_LONG_STATUS
},
{
"Sort_merge_passes"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
filesort_merge_passes
),
SHOW_LONG_STATUS
},
{
"Sort_merge_passes"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
filesort_merge_passes
),
SHOW_LONG_STATUS
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment