diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-02 14:34:52 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-02 15:01:46 +0200 |
commit | 8511f04fdb4cc69a6c90b543624305ef715f9e53 (patch) | |
tree | 7dd3e97fb99139203dccd52933a60da445f086b8 /extra | |
parent | 55a5b5baf665793b63cb49bb59b0356ad77fdd00 (diff) | |
download | mariadb-git-8511f04fdb4cc69a6c90b543624305ef715f9e53.tar.gz |
Cleanup: Remove srv_start_lsn
Most of the time, we can refer to recv_sys.recovered_lsn.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mariabackup/xtrabackup.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc index a17aace794b..f90a7390993 100644 --- a/extra/mariabackup/xtrabackup.cc +++ b/extra/mariabackup/xtrabackup.cc @@ -5452,11 +5452,11 @@ static bool xtrabackup_prepare_func(char** argv) } /* Check whether the log is applied enough or not. */ - if (srv_start_lsn && srv_start_lsn < target_lsn) { + if (recv_sys.recovered_lsn && recv_sys.recovered_lsn < target_lsn) { msg("mariabackup: error: " "The log was only applied up to LSN " LSN_PF ", instead of " LSN_PF, - srv_start_lsn, target_lsn); + recv_sys.recovered_lsn, target_lsn); ok = false; } #ifdef WITH_WSREP |