Skip to content
Snippets Groups Projects
Commit 14ed5b3e authored by Vadim B. Mikheev's avatar Vadim B. Mikheev
Browse files

Someone forgot about 'case sizeof(int32)' for

tupleDesc->attrs[i]->attlen in fastgetiattr.
parent 64c82a50
No related branches found
No related tags found
No related merge requests found
......@@ -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')?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment