mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
XtraDB 5.6.20-68.0
This commit is contained in:
commit
4a68817d8d
51 changed files with 1113 additions and 713 deletions
|
|
@ -8287,6 +8287,15 @@ i_s_innodb_changed_pages_fill(
|
|||
limit_lsn_range_from_condition(table, cond, &min_lsn,
|
||||
&max_lsn);
|
||||
}
|
||||
|
||||
/* If the log tracker is running and our max_lsn > current tracked LSN,
|
||||
cap the max lsn so that we don't try to read any partial runs as the
|
||||
tracked LSN advances. */
|
||||
if (srv_track_changed_pages) {
|
||||
ib_uint64_t tracked_lsn = log_get_tracked_lsn();
|
||||
if (max_lsn > tracked_lsn)
|
||||
max_lsn = tracked_lsn;
|
||||
}
|
||||
|
||||
if (!log_online_bitmap_iterator_init(&i, min_lsn, max_lsn)) {
|
||||
my_error(ER_CANT_FIND_SYSTEM_REC, MYF(0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue