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

Commit14ed5b3

Browse files
committed
Someone forgot about 'case sizeof(int32)' for
tupleDesc->attrs[i]->attlen in fastgetiattr.
1 parent64c82a5 commit14ed5b3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.12 1996/11/05 07:42:42 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.13 1997/03/26 02:24:38 vadim Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -329,6 +329,9 @@ fastgetiattr(IndexTuple tup,
329329
casesizeof(short):
330330
off=SHORTALIGN(off)+sizeof(short);
331331
break;
332+
casesizeof(int32):
333+
off=INTALIGN(off)+sizeof(int32);
334+
break;
332335
case-1:
333336
usecache= false;
334337
off= (tupleDesc->attrs[i]->attalign=='d')?

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp