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
b5849f45
Commit
b5849f45
authored
Oct 15, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more information about memory usage to debug log
parent
2d3840f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
sql/sql_test.cc
sql/sql_test.cc
+7
-3
No files found.
sql/sql_test.cc
View file @
b5849f45
...
...
@@ -194,6 +194,8 @@ void mysql_print_status(THD *thd)
printf
(
"
\n
Status information:
\n\n
"
);
my_getwd
(
current_dir
,
sizeof
(
current_dir
),
MYF
(
0
));
printf
(
"Current dir: %s
\n
"
,
current_dir
);
printf
(
"Running threads: %d Stack size: %ld
\n
"
,
thread_count
,
(
long
)
thread_stack
);
if
(
thd
)
thd
->
proc_info
=
"locks"
;
thr_print_locks
();
// Write some debug info
...
...
@@ -271,8 +273,9 @@ Maximum total allocated space: %d\n\
Space available in freed fastbin blocks: %d
\n
\
Total allocated space: %d
\n
\
Total free space: %d
\n
\
Top-most, releasable space: %d
\n
"
,
(
int
)
info
.
arena
,
Top-most, releasable space: %d
\n
\
Estimated memory (with thread stack): %ld
\n
"
,
(
int
)
info
.
arena
,
(
int
)
info
.
ordblks
,
(
int
)
info
.
smblks
,
(
int
)
info
.
hblks
,
...
...
@@ -281,7 +284,8 @@ Top-most, releasable space: %d\n",
(
int
)
info
.
fsmblks
,
(
int
)
info
.
uordblks
,
(
int
)
info
.
fordblks
,
(
int
)
info
.
keepcost
);
(
int
)
info
.
keepcost
,
(
long
)
(
thread_count
*
thread_stack
+
info
.
hblkhd
+
info
.
arena
));
#endif
puts
(
""
);
if
(
thd
)
...
...
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