summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fil0fil.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/fil0fil.h')
-rw-r--r--storage/innobase/include/fil0fil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h
index e34c563df9e..dcfca4a7514 100644
--- a/storage/innobase/include/fil0fil.h
+++ b/storage/innobase/include/fil0fil.h
@@ -1523,8 +1523,8 @@ inline bool fil_names_write_if_was_clean(fil_space_t* space)
}
const bool was_clean = space->max_lsn == 0;
- ut_ad(space->max_lsn <= log_sys.lsn);
- space->max_lsn = log_sys.lsn;
+ ut_ad(space->max_lsn <= log_sys.get_lsn());
+ space->max_lsn = log_sys.get_lsn();
if (was_clean) {
fil_names_dirty_and_write(space);