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

Commita1a51dc

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 parent6ebd437 commita1a51dc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,13 +1271,5 @@ LogicalTapeTell(LogicalTapeSet *lts, int tapenum,
12711271
long
12721272
LogicalTapeSetBlocks(LogicalTapeSet*lts)
12731273
{
1274-
#ifdefUSE_ASSERT_CHECKING
1275-
for (inti=0;i<lts->nTapes;i++)
1276-
{
1277-
LogicalTape*lt=&lts->tapes[i];
1278-
1279-
Assert(!lt->writing||lt->buffer==NULL);
1280-
}
1281-
#endif
12821274
returnlts->nBlocksWritten-lts->nHoleBlocks;
12831275
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp