summaryrefslogtreecommitdiff
path: root/storage/innobase/srv/srv0srv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/srv/srv0srv.cc')
-rw-r--r--storage/innobase/srv/srv0srv.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/storage/innobase/srv/srv0srv.cc b/storage/innobase/srv/srv0srv.cc
index 6b7b56cb24e..4898b9e4e44 100644
--- a/storage/innobase/srv/srv0srv.cc
+++ b/storage/innobase/srv/srv0srv.cc
@@ -1340,14 +1340,7 @@ void srv_monitor_task(void*)
where the lsn seems to decrease at times */
lsn_t new_lsn = log_sys.get_lsn();
- if (new_lsn < old_lsn) {
- ib::error() << "Old log sequence number " << old_lsn << " was"
- << " greater than the new log sequence number "
- << new_lsn << ". Please submit a bug report to"
- " https://jira.mariadb.org/";
- ut_ad(0);
- }
-
+ ut_a(new_lsn >= old_lsn);
old_lsn = new_lsn;
/* Update the statistics collected for deciding LRU