Skip to content

Commit f440173

Browse files
committed
MDEV-14968 On upgrade, InnoDB reports "started; log sequence number 0"
srv_prepare_to_delete_redo_log_files(): Initialize srv_start_lsn.
1 parent 81378b3 commit f440173

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/innobase/srv/srv0start.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,7 @@ srv_prepare_to_delete_redo_log_files(
14461446
<< " bytes; LSN=" << flushed_lsn;
14471447
}
14481448

1449+
srv_start_lsn = flushed_lsn;
14491450
/* Flush the old log files. */
14501451
log_mutex_exit();
14511452

0 commit comments

Comments
 (0)