summaryrefslogtreecommitdiff
path: root/storage/innobase/srv/srv0srv.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-03-02 14:34:52 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-03-02 15:01:46 +0200
commit8511f04fdb4cc69a6c90b543624305ef715f9e53 (patch)
tree7dd3e97fb99139203dccd52933a60da445f086b8 /storage/innobase/srv/srv0srv.cc
parent55a5b5baf665793b63cb49bb59b0356ad77fdd00 (diff)
downloadmariadb-git-8511f04fdb4cc69a6c90b543624305ef715f9e53.tar.gz
Cleanup: Remove srv_start_lsn
Most of the time, we can refer to recv_sys.recovered_lsn.
Diffstat (limited to 'storage/innobase/srv/srv0srv.cc')
-rw-r--r--storage/innobase/srv/srv0srv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/srv/srv0srv.cc b/storage/innobase/srv/srv0srv.cc
index ca66ab453ed..404140a7872 100644
--- a/storage/innobase/srv/srv0srv.cc
+++ b/storage/innobase/srv/srv0srv.cc
@@ -1462,7 +1462,7 @@ void srv_error_monitor_task(void*)
{
/* number of successive fatal timeouts observed */
static ulint fatal_cnt;
- static lsn_t old_lsn = srv_start_lsn;
+ static lsn_t old_lsn = recv_sys.recovered_lsn;
lsn_t new_lsn;
/* longest waiting thread for a semaphore */
os_thread_id_t waiter;