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

Commitd264bb5

Browse files
committed
Fix unused variable compiler warning in !debug builds.
Introduced in3dbb317. Fix by using the new local variable in moreplaces.Reported-By: Bruce Momjian (off-list)Backpatch: 9.4-, like3dbb317
1 parent11ea45f commitd264bb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/catalog/indexing.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ CatalogIndexInsert(CatalogIndexState indstate, HeapTuple heapTuple)
136136
Assert(!ReindexIsProcessingIndex(RelationGetRelid(index)));
137137
continue;
138138
}
139-
#endif/* USE_ASSERT_CHECKING */
139+
#endif/* USE_ASSERT_CHECKING */
140140

141141
/*
142142
* FormIndexDatum fills in its values and isnull parameters with the
@@ -151,12 +151,12 @@ CatalogIndexInsert(CatalogIndexState indstate, HeapTuple heapTuple)
151151
/*
152152
* The index AM does the rest.
153153
*/
154-
index_insert(relationDescs[i],/* index relation */
154+
index_insert(index,/* index relation */
155155
values,/* array of index Datums */
156156
isnull,/* is-null flags */
157157
&(heapTuple->t_self),/* tid of heap tuple */
158158
heapRelation,
159-
relationDescs[i]->rd_index->indisunique ?
159+
index->rd_index->indisunique ?
160160
UNIQUE_CHECK_YES :UNIQUE_CHECK_NO,
161161
indexInfo);
162162
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp