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
40a7e02b
Commit
40a7e02b
authored
Jun 26, 2009
by
Vadim Tkachenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync rev 76
parent
f657606d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
handler/ha_innodb.cc
handler/ha_innodb.cc
+1
-1
srv/srv0srv.c
srv/srv0srv.c
+6
-3
No files found.
handler/ha_innodb.cc
View file @
40a7e02b
...
...
@@ -9834,7 +9834,7 @@ TYPELIB innobase_stats_method_typelib=
innobase_stats_method_names
,
NULL
};
static
MYSQL_SYSVAR_ENUM
(
stats_method
,
srv_stats_method
,
PLUGIN_VAR_RQCMDARG
|
PLUGIN_VAR_READONLY
,
PLUGIN_VAR_RQCMDARG
,
"Specifies how InnoDB index statistics collection code should threat NULLs. "
"Possible values of name are same to for 'myisam_stats_method'. "
"This is startup parameter."
,
...
...
srv/srv0srv.c
View file @
40a7e02b
...
...
@@ -2645,8 +2645,11 @@ loop:
bpage
=
UT_LIST_GET_FIRST
(
buf_pool
->
flush_list
);
while
(
bpage
!=
NULL
)
{
level
+=
log_sys
->
max_checkpoint_age
-
(
lsn
-
bpage
->
oldest_modification
);
ib_uint64_t
oldest_modification
=
bpage
->
oldest_modification
;
if
(
oldest_modification
!=
0
)
{
level
+=
log_sys
->
max_checkpoint_age
-
(
lsn
-
oldest_modification
);
}
bpage
=
UT_LIST_GET_NEXT
(
flush_list
,
bpage
);
}
...
...
@@ -2663,7 +2666,7 @@ loop:
if
(
bpl
)
n_pages_flushed
=
buf_flush_batch
(
BUF_FLUSH_LIST
,
bpl
,
IB_ULONGLONG_MAX
);
oldest_lsn
+
(
lsn
-
lsn_old
)
);
/*
fprintf(stderr,
...
...
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