Skip to content

Commit

Permalink
MDEV-14968 On upgrade, InnoDB reports "started; log sequence number 0"
Browse files Browse the repository at this point in the history
srv_prepare_to_delete_redo_log_files(): Initialize srv_start_lsn.
  • Loading branch information
dr-m committed Jan 16, 2018
1 parent 81378b3 commit f440173
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/innobase/srv/srv0start.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ srv_prepare_to_delete_redo_log_files(
<< " bytes; LSN=" << flushed_lsn;
}

srv_start_lsn = flushed_lsn;
/* Flush the old log files. */
log_mutex_exit();

Expand Down

0 comments on commit f440173

Please sign in to comment.