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

Modified Files:
        coreopt.brg simplify.brg 
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: simplify.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/core/simplify.brg,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- simplify.brg        19 Jan 2007 09:35:16 -0000      1.28
+++ simplify.brg        25 May 2007 21:55:20 -0000      1.29
@@ -411,6 +411,8 @@
 
     old_state_label = STATE_LABEL(p);
 
+    PFrecursion_fence();
+
     do {
         rewrite_again = false;
         manual = false;

Index: coreopt.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/core/coreopt.brg,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- coreopt.brg 24 May 2007 07:28:51 -0000      1.47
+++ coreopt.brg 25 May 2007 21:55:20 -0000      1.48
@@ -406,6 +406,8 @@
     bool          rewritten;
     short         old_state_label;
 
+    PFrecursion_fence();
+
     do {
         /* determine rule that matches for this non-terminal */
         rule = PFcoreopt_rule (STATE_LABEL (p), goalnt);


-------------------------------------------------------------------------
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