File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.8 1997/08/19 21:29:32 momjian Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.9 1997/08/22 16:48:14 momjian Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
26
26
#include <access/istrat.h>
27
27
#include <fmgr.h>
28
28
29
+ #ifndef NO_ASSERT_CHECKING
29
30
static bool StrategyEvaluationIsValid (StrategyEvaluation evaluation );
30
31
static bool StrategyExpressionIsValid (StrategyExpression expression ,
31
32
StrategyNumber maxStrategy );
@@ -35,6 +36,8 @@ static bool StrategyOperatorIsValid(StrategyOperator operator,
35
36
StrategyNumber maxStrategy );
36
37
static bool StrategyTermIsValid (StrategyTerm term ,
37
38
StrategyNumber maxStrategy );
39
+ #endif
40
+
38
41
39
42
/* ----------------------------------------------------------------
40
43
* misc strategy support routines
@@ -105,6 +108,7 @@ AttributeNumberGetIndexStrategySize(AttrNumber maxAttributeNumber,
105
108
maxAttributeNumber * maxStrategyNumber * sizeof (ScanKeyData );
106
109
}
107
110
111
+ #ifndef NO_ASSERT_CHECKING
108
112
/*
109
113
* StrategyTransformMapIsValid is now a macro in istrat.h -cim 4/27/91
110
114
*/
@@ -198,6 +202,7 @@ StrategyEvaluationIsValid(StrategyEvaluation evaluation)
198
202
}
199
203
return true;
200
204
}
205
+ #endif
201
206
202
207
/* ----------------
203
208
* StrategyTermEvaluate
You can’t perform that action at this time.
0 commit comments