Commit 12d9a12e authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

gist.h:

/*
** You can have as many strategies as you please in GiSTs, as
** long as your consistent method can handle them
*/
#define GISTNStrategies                 100
                                        ^^^
- too big number:

strat.h->StrategyEvaluationData->StrategyExpression  expression[12]
                                                                ^^
 - so 12 is real max # of strategies, or StrategyEvaluationIsValid
crashes backend (called if CASSER defined).
parent 737ab85c
......@@ -24,9 +24,16 @@
/*
** You can have as many strategies as you please in GiSTs, as
** long as your consistent method can handle them
*/
**
** But strat.h->StrategyEvaluationData->StrategyExpression expression[12]
** - so 12 is real max # of strategies, or StrategyEvaluationIsValid
** crashes backend... - vadim 05/21/97
#define GISTNStrategies 100
*/
#define GISTNStrategies 12
/*
** Helper routines
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment