Someone forgot about 'case sizeof(int32)' for

tupleDesc->attrs[i]->attlen in fastgetiattr.
This commit is contained in:
Vadim B. Mikheev 1997-03-26 02:24:38 +00:00
parent 64c82a5016
commit 14ed5b3ecd
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.12 1996/11/05 07:42:42 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.13 1997/03/26 02:24:38 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@ -329,6 +329,9 @@ fastgetiattr(IndexTuple tup,
case sizeof(short):
off = SHORTALIGN(off) + sizeof(short);
break;
case sizeof(int32):
off = INTALIGN(off) + sizeof(int32);
break;
case -1:
usecache = false;
off = (tupleDesc->attrs[i]->attalign=='d')?