mirror of https://github.com/schoebel/mars
parent
8bf599435c
commit
b04db9a5ef
|
@ -2680,7 +2680,7 @@ bool is_switchover_possible(struct mars_rotate *rot, const char *old_log_path, c
|
|||
}
|
||||
|
||||
// last check: is the new versionlink based on the old one?
|
||||
if (!skip_new) {
|
||||
if (new_versionlink) {
|
||||
len1 = skip_sect(own_versionlink);
|
||||
offs2 = skip_sect(new_versionlink);
|
||||
if (unlikely(!new_versionlink[offs2++])) {
|
||||
|
|
Loading…
Reference in New Issue