diff options
-rw-r--r-- | storage/innobase/srv/srv0start.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/innobase/srv/srv0start.cc b/storage/innobase/srv/srv0start.cc index d67c6c02b2f..085ab55a5aa 100644 --- a/storage/innobase/srv/srv0start.cc +++ b/storage/innobase/srv/srv0start.cc @@ -1837,6 +1837,14 @@ files_checked: return(srv_init_abort(err)); } } else { + /* Work around the bug that we were performing a dirty read of + at least the TRX_SYS page into the buffer pool above, without + reading or applying any redo logs. + + MDEV-19229 FIXME: Remove the dirty reads and this call. + Add an assertion that the buffer pool is empty. */ + buf_pool_invalidate(); + /* We always try to do a recovery, even if the database had been shut down normally: this is the normal startup path */ |