Add missing paren.

This commit is contained in:
Bruce Momjian 2001-05-16 22:36:03 +00:00
parent 27336e4f7a
commit 8128ae686f
2 changed files with 2 additions and 4 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.149 2001/05/15 03:49:34 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.150 2001/05/16 22:36:03 momjian Exp $
*
*
* INTERFACE ROUTINES
@ -228,7 +228,6 @@ ConstructTupleDescriptor(Relation heapRelation,
if (!AttrNumberIsForUserDefinedAttr(atnum))
{
/*
* here we are indexing on a system attribute (-1...-n)
*/
@ -236,7 +235,6 @@ ConstructTupleDescriptor(Relation heapRelation,
}
else
{
/*
* here we are indexing on a normal attribute (1...n)
*/

View File

@ -2336,7 +2336,7 @@ SQLStatistics(
*/
set_tuplefield_int2(&row->tuple[6], (Int2)
(atoi(isclustered) ? SQL_INDEX_CLUSTERED :
(!strncmp(ishash, "hash", 4)) ? SQL_INDEX_HASHED : SQL_INDEX_OTHER);
(!strncmp(ishash, "hash", 4)) ? SQL_INDEX_HASHED : SQL_INDEX_OTHER));
set_tuplefield_int2(&row->tuple[7], (Int2) (i + 1));
if (fields_vector[i] == OID_ATTNUM)