Update of /cvsroot/monetdb/pathfinder/compiler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5910/compiler

Modified Files:
        oops.c 
Log Message:
[ 1607210 ] XQ: server-side compilation crash (member benchmark)
- introduced a stack fence that aborts too deep recursion
  only enabled in embedded mode (to keep Mserver alive on bad queries)



Index: oops.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/oops.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- oops.c      3 Jan 2007 12:32:29 -0000       1.23
+++ oops.c      25 May 2007 21:55:20 -0000      1.24
@@ -86,6 +86,11 @@
 char PFerrbuf[OOPS_SIZE] = { 0 };
 
 /**
+ * global stack threshold to guard against too deep recursions
+ */
+char *PFmaxstack = NULL;
+
+/**
  * Log message to compiler log file. This function actually does the
  * work for PFinfo() and PFlog().
  * @param msg printf style format string


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to