Skip to content

Does this conditional branch have any special meaning? #591

Closed
@zxbzswxr

Description

@zxbzswxr

pg_probackup/src/merge.c

Lines 339 to 341 in 7792b98

if ((full_backup->status == BACKUP_STATUS_MERGED ||
full_backup->status == BACKUP_STATUS_MERGED) &&
dest_backup->start_time != full_backup->merge_dest_backup)

what if we rewrite it as
if(full_backup->status == BACKUP_STATUS_MERGED && dest_backup->start_time != full_backup->merge_dest_backup)
......

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions