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

Commit2032645

Browse files
committed
Fix compiler warning in non-assert builds
Oversight in commite1551f9.Reported-by: Erik RijkersDiscussion:https://postgr.es/m/b7ad911d3eaa29af9fcdb9ccb26c363c@xs4all.nl
1 parente1551f9 commit2032645

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/access/common/tupconvert.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ execute_attr_map_tuple(HeapTuple tuple, TupleConversionMap *map)
143143
bool*inisnull=map->inisnull;
144144
Datum*outvalues=map->outvalues;
145145
bool*outisnull=map->outisnull;
146-
intoutnatts=map->outdesc->natts;
147146
inti;
148147

149148
/*
@@ -156,7 +155,7 @@ execute_attr_map_tuple(HeapTuple tuple, TupleConversionMap *map)
156155
/*
157156
* Transpose into proper fields of the new tuple.
158157
*/
159-
Assert(attrMap->maplen==outnatts);
158+
Assert(attrMap->maplen==map->outdesc->natts);
160159
for (i=0;i<attrMap->maplen;i++)
161160
{
162161
intj=attrMap->attnums[i];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp