Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit01e7631

Browse files
committed
Undo commenting of TransactionIdIsInProgress
1 parent1fe0f5b commit01e7631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/time/tqual.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ HeapTupleSatisfiesMVCC(HeapTuple htup, Snapshot snapshot,
10651065
else
10661066
{
10671067
/* it must have aborted or crashed */
1068-
//if (!TransactionIdIsInProgress(HeapTupleHeaderGetRawXmin(tuple)))
1068+
if (!TransactionIdIsInProgress(HeapTupleHeaderGetRawXmin(tuple)))
10691069
SetHintBits(tuple,buffer,HEAP_XMIN_INVALID,
10701070
InvalidTransactionId);
10711071
return false;
@@ -1130,7 +1130,7 @@ HeapTupleSatisfiesMVCC(HeapTuple htup, Snapshot snapshot,
11301130
if (!TransactionIdDidCommit(HeapTupleHeaderGetRawXmax(tuple)))
11311131
{
11321132
/* it must have aborted or crashed */
1133-
//if (!TransactionIdIsInProgress(HeapTupleHeaderGetRawXmax(tuple)))
1133+
if (!TransactionIdIsInProgress(HeapTupleHeaderGetRawXmax(tuple)))
11341134
SetHintBits(tuple,buffer,HEAP_XMAX_INVALID,
11351135
InvalidTransactionId);
11361136
return true;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp