File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/backend/optimizer/util Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.42 2000/01/11 03:33:13 momjian Exp $
11+ * $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.43 2000/01/12 00:53:21 tgl Exp $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -120,8 +120,10 @@ find_secondary_indexes(Query *root, Index relid)
120120
121121 for (i = 0 ; i < INDEX_MAX_KEYS ; i ++ )
122122 info -> indexkeys [i ] = index -> indkey [i ];
123+ info -> indexkeys [INDEX_MAX_KEYS ] = 0 ;
123124 for (i = 0 ; i < INDEX_MAX_KEYS ; i ++ )
124125 info -> classlist [i ] = index -> indclass [i ];
126+ info -> classlist [INDEX_MAX_KEYS ] = (Oid ) 0 ;
125127
126128 /* Extract info from the relation descriptor for the index */
127129 indexRelation = index_open (index -> indexrelid );
You can’t perform that action at this time.
0 commit comments