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
97a780f1
Commit
97a780f1
authored
Aug 18, 2010
by
Jimmy Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #48026 Log start and end of InnoDB buffer pool initialization to
the error log
parent
618d6e72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
storage/innobase/srv/srv0start.c
storage/innobase/srv/srv0start.c
+19
-0
No files found.
storage/innobase/srv/srv0start.c
View file @
97a780f1
...
...
@@ -1334,8 +1334,27 @@ innobase_start_or_create_for_mysql(void)
fil_init
(
srv_file_per_table
?
50000
:
5000
,
srv_max_n_open_files
);
/* Print time to initialize the buffer pool */
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: Initializing buffer pool, size ="
);
if
(
srv_buf_pool_size
>=
1024
*
1024
*
1024
)
{
fprintf
(
stderr
,
" %.1fG
\n
"
,
((
double
)
srv_buf_pool_size
)
/
(
1024
*
1024
*
1024
));
}
else
{
fprintf
(
stderr
,
" %.1fM
\n
"
,
((
double
)
srv_buf_pool_size
)
/
(
1024
*
1024
));
}
err
=
buf_pool_init
(
srv_buf_pool_size
,
srv_buf_pool_instances
);
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: Completed initialization of buffer pool
\n
"
);
if
(
err
!=
DB_SUCCESS
)
{
fprintf
(
stderr
,
"InnoDB: Fatal error: cannot allocate the memory"
...
...
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