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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
433c57d9
Commit
433c57d9
authored
May 30, 2006
by
iggy@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into mysql.com:/mnt/storeage/mysql-5.0-maint_bug18669
parents
076ddbf8
3cc64cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
sql/sql_parse.cc
sql/sql_parse.cc
+6
-2
No files found.
sql/sql_parse.cc
View file @
433c57d9
...
...
@@ -1992,13 +1992,17 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
#else
char
*
buff
=
thd
->
net
.
last_error
;
#endif
STATUS_VAR
current_global_status_var
;
calc_sum_of_all_status
(
&
current_global_status_var
);
ulong
uptime
=
(
ulong
)
(
thd
->
start_time
-
start_time
);
sprintf
((
char
*
)
buff
,
"Uptime: %lu Threads: %d Questions: %lu Slow queries: %lu Opens: %lu Flush tables: %lu Open tables: %u Queries per second avg: %.3f"
,
uptime
,
(
int
)
thread_count
,
(
ulong
)
thd
->
query_id
,
(
ulong
)
thd
->
status_var
.
long_query_count
,
thd
->
status_var
.
opened_tables
,
refresh_version
,
cached_tables
(),
current_global_
status_var
.
long_query_count
,
current_global_
status_var
.
opened_tables
,
refresh_version
,
cached_tables
(),
(
uptime
?
(
ulonglong2double
(
thd
->
query_id
)
/
(
double
)
uptime
)
:
(
double
)
0
));
#ifdef SAFEMALLOC
...
...
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