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

Commitbf038eb

Browse files
committed
Remove incorrect Assert introduced inc8aeaf3.
Already removed incidentally in version 15 (c4649cc), so this commitis only applied to versions 13 and 14.The comment above is misleading in all versions 13 and later, so thatwill be fixed in a separate commit.Discussion:https://postgr.es/m/cfd84cb8-12fe-433a-a4bb-f460a4515f9c.zhaotinghai.zth%40alibaba-inc.comReported-by: Tinghai ZhaoBackpatch-through: 13
1 parentd5c6aff commitbf038eb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

‎src/backend/utils/sort/logtape.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,12 +1269,5 @@ LogicalTapeTell(LogicalTapeSet *lts, int tapenum,
12691269
long
12701270
LogicalTapeSetBlocks(LogicalTapeSet*lts)
12711271
{
1272-
#ifdefUSE_ASSERT_CHECKING
1273-
for (inti=0;i<lts->nTapes;i++)
1274-
{
1275-
LogicalTape*lt=&lts->tapes[i];
1276-
Assert(!lt->writing||lt->buffer==NULL);
1277-
}
1278-
#endif
12791272
returnlts->nBlocksWritten-lts->nHoleBlocks;
12801273
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp