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
9c93c5b9
Commit
9c93c5b9
authored
Jun 09, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
parents
6329053f
71aa571d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
sql/mysqld.cc
sql/mysqld.cc
+2
-2
sql/sql_class.h
sql/sql_class.h
+2
-2
sql/sql_show.cc
sql/sql_show.cc
+2
-0
sql/structs.h
sql/structs.h
+2
-1
No files found.
sql/mysqld.cc
View file @
9c93c5b9
...
@@ -6190,8 +6190,8 @@ struct show_var_st status_vars[]= {
...
@@ -6190,8 +6190,8 @@ struct show_var_st status_vars[]= {
{
"Aborted_connects"
,
(
char
*
)
&
aborted_connects
,
SHOW_LONG
},
{
"Aborted_connects"
,
(
char
*
)
&
aborted_connects
,
SHOW_LONG
},
{
"Binlog_cache_disk_use"
,
(
char
*
)
&
binlog_cache_disk_use
,
SHOW_LONG
},
{
"Binlog_cache_disk_use"
,
(
char
*
)
&
binlog_cache_disk_use
,
SHOW_LONG
},
{
"Binlog_cache_use"
,
(
char
*
)
&
binlog_cache_use
,
SHOW_LONG
},
{
"Binlog_cache_use"
,
(
char
*
)
&
binlog_cache_use
,
SHOW_LONG
},
{
"Bytes_received"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
bytes_received
),
SHOW_LONG_STATUS
},
{
"Bytes_received"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
bytes_received
),
SHOW_LONG
LONG
_STATUS
},
{
"Bytes_sent"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
bytes_sent
),
SHOW_LONG_STATUS
},
{
"Bytes_sent"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
bytes_sent
),
SHOW_LONG
LONG
_STATUS
},
{
"Com_admin_commands"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_other
),
SHOW_LONG_STATUS
},
{
"Com_admin_commands"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_other
),
SHOW_LONG_STATUS
},
{
"Com_alter_db"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_ALTER_DB
]),
SHOW_LONG_STATUS
},
{
"Com_alter_db"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_ALTER_DB
]),
SHOW_LONG_STATUS
},
{
"Com_alter_table"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_ALTER_TABLE
]),
SHOW_LONG_STATUS
},
{
"Com_alter_table"
,
(
char
*
)
offsetof
(
STATUS_VAR
,
com_stat
[(
uint
)
SQLCOM_ALTER_TABLE
]),
SHOW_LONG_STATUS
},
...
...
sql/sql_class.h
View file @
9c93c5b9
...
@@ -606,8 +606,8 @@ struct system_variables
...
@@ -606,8 +606,8 @@ struct system_variables
typedef
struct
system_status_var
typedef
struct
system_status_var
{
{
ulong
bytes_received
;
ulong
long
bytes_received
;
ulong
bytes_sent
;
ulong
long
bytes_sent
;
ulong
com_other
;
ulong
com_other
;
ulong
com_stat
[(
uint
)
SQLCOM_END
];
ulong
com_stat
[(
uint
)
SQLCOM_END
];
ulong
created_tmp_disk_tables
;
ulong
created_tmp_disk_tables
;
...
...
sql/sql_show.cc
View file @
9c93c5b9
...
@@ -1463,6 +1463,8 @@ static bool show_status_array(THD *thd, const char *wild,
...
@@ -1463,6 +1463,8 @@ static bool show_status_array(THD *thd, const char *wild,
case
SHOW_LONG_CONST
:
case
SHOW_LONG_CONST
:
end
=
int10_to_str
(
*
(
long
*
)
value
,
buff
,
10
);
end
=
int10_to_str
(
*
(
long
*
)
value
,
buff
,
10
);
break
;
break
;
case
SHOW_LONGLONG_STATUS
:
value
=
((
char
*
)
status_var
+
(
ulonglong
)
value
);
case
SHOW_LONGLONG
:
case
SHOW_LONGLONG
:
end
=
longlong10_to_str
(
*
(
longlong
*
)
value
,
buff
,
10
);
end
=
longlong10_to_str
(
*
(
longlong
*
)
value
,
buff
,
10
);
break
;
break
;
...
...
sql/structs.h
View file @
9c93c5b9
...
@@ -190,7 +190,8 @@ enum SHOW_TYPE
...
@@ -190,7 +190,8 @@ enum SHOW_TYPE
SHOW_NET_COMPRESSION
,
SHOW_NET_COMPRESSION
,
SHOW_RPL_STATUS
,
SHOW_SLAVE_RUNNING
,
SHOW_SLAVE_RETRIED_TRANS
,
SHOW_RPL_STATUS
,
SHOW_SLAVE_RUNNING
,
SHOW_SLAVE_RETRIED_TRANS
,
SHOW_KEY_CACHE_LONG
,
SHOW_KEY_CACHE_CONST_LONG
,
SHOW_KEY_CACHE_LONGLONG
,
SHOW_KEY_CACHE_LONG
,
SHOW_KEY_CACHE_CONST_LONG
,
SHOW_KEY_CACHE_LONGLONG
,
SHOW_LONG_STATUS
,
SHOW_LONG_CONST_STATUS
,
SHOW_SLAVE_SKIP_ERRORS
SHOW_LONG_STATUS
,
SHOW_LONG_CONST_STATUS
,
SHOW_SLAVE_SKIP_ERRORS
,
SHOW_LONGLONG_STATUS
};
};
enum
SHOW_COMP_OPTION
{
SHOW_OPTION_YES
,
SHOW_OPTION_NO
,
SHOW_OPTION_DISABLED
};
enum
SHOW_COMP_OPTION
{
SHOW_OPTION_YES
,
SHOW_OPTION_NO
,
SHOW_OPTION_DISABLED
};
...
...
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