Skip to content

Commit 9f44901

Browse files
committed
minor fix
1 parent f86c33a commit 9f44901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ prepare_page(ConnectionArgs *conn_arg,
454454
return PageIsOk;
455455

456456
/* Getting page with invalid header from shared buffers is unacceptable */
457-
if (PAGE_HEADER_IS_INVALID)
457+
if (rc == PAGE_HEADER_IS_INVALID)
458458
{
459459
char *errormsg = NULL;
460460
get_header_errormsg(page, &errormsg);

0 commit comments

Comments
 (0)