From: Neil M. <nm...@us...> - 2001-10-31 01:20:55
|
Build Number:545 Update of /cvsroot/firebird/interbase/dsql In directory usw-pr-cvs1:/tmp/cvs-serv1108/dsql Modified Files: parse.y parse.c Log Message: Fix problem where there was a limit (69) on the number of stored procedures that could be called from another stored procedure on some platforms. Thanks to Oleg Loa for the solution. Index: parse.y =================================================================== RCS file: /cvsroot/firebird/interbase/dsql/parse.y,v retrieving revision 1.21 retrieving revision 1.22 diff -U3 -r1.21 -r1.22 --- parse.y 2001/10/25 21:25:22 1.21 +++ parse.y 2001/10/31 01:20:50 1.22 @@ -94,6 +94,10 @@ #define MIN_CACHE_BUFFERS 250 #define DEF_CACHE_BUFFERS 1000 +/* Fix 69th procedure problem - solution from Oleg Loa */ +#define YYSTACKSIZE 2048 +#define YYMAXDEPTH 2048 + #define YYSTYPE NOD #if defined(DEBUG) || defined(DEV_BUILD) #define YYDEBUG 1 Index: parse.c =================================================================== RCS file: /cvsroot/firebird/interbase/dsql/parse.c,v retrieving revision 1.22 retrieving revision 1.23 diff -U3 -r1.22 -r1.23 --- parse.c 2001/10/27 01:42:25 1.22 +++ parse.c 2001/10/31 01:20:51 1.23 @@ -103,6 +103,10 @@ #define MIN_CACHE_BUFFERS 250 #define DEF_CACHE_BUFFERS 1000 +/* Fix 69th procedure problem - solution from Oleg Loa */ +#define YYSTACKSIZE 2048 +#define YYMAXDEPTH 2048 + #define YYSTYPE NOD #if defined(DEBUG) || defined(DEV_BUILD) #define YYDEBUG 1 |