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

Commitcef27ae

Browse files
committed
Fix compiler warning
A variable was unused in non-assert builds. Simplify the code toavoid the issue.Reported-by: Erik Rijkers <er@xs4all.nl>
1 parentab3e4fb commitcef27ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/replication/logical/worker.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,6 @@ apply_handle_update_internal(ResultRelInfo *relinfo,
788788
LogicalRepRelMapEntry*relmapentry)
789789
{
790790
Relationlocalrel=relinfo->ri_RelationDesc;
791-
LogicalRepRelation*remoterel=&relmapentry->remoterel;
792791
Oididxoid;
793792
EPQStateepqstate;
794793
TupleTableSlot*localslot;
@@ -806,7 +805,7 @@ apply_handle_update_internal(ResultRelInfo *relinfo,
806805
*/
807806
idxoid=GetRelationIdentityOrPK(localrel);
808807
Assert(OidIsValid(idxoid)||
809-
(remoterel->replident==REPLICA_IDENTITY_FULL));
808+
(relmapentry->remoterel.replident==REPLICA_IDENTITY_FULL));
810809

811810
if (OidIsValid(idxoid))
812811
found=RelationFindReplTupleByIndex(localrel,idxoid,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp