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
51653cb2
Commit
51653cb2
authored
Apr 05, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
parents
21836cc1
2b90ca5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/sql_parse.cc
sql/sql_parse.cc
+3
-2
No files found.
sql/sql_parse.cc
View file @
51653cb2
...
...
@@ -1912,12 +1912,13 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
#endif
ulong
uptime
=
(
ulong
)
(
thd
->
start_time
-
start_time
);
sprintf
((
char
*
)
buff
,
"Uptime: %l
d Threads: %d Questions: %lu Slow queries: %lu Opens: %ld Flush tables: %ld
Open tables: %u Queries per second avg: %.3f"
,
"Uptime: %l
u 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
(),
uptime
?
(
float
)
thd
->
query_id
/
(
float
)
uptime
:
0
);
(
uptime
?
(
ulonglong2double
(
thd
->
query_id
)
/
(
double
)
uptime
)
:
(
double
)
0
));
#ifdef SAFEMALLOC
if
(
sf_malloc_cur_memory
)
// Using SAFEMALLOC
sprintf
(
strend
(
buff
),
" Memory in use: %ldK Max memory used: %ldK"
,
...
...
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