XtraDB 5.6.20-68.0

This commit is contained in:
Sergei Golubchik 2014-09-11 16:44:16 +02:00
commit 4a68817d8d
51 changed files with 1113 additions and 713 deletions

View file

@ -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));