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

Modified Files:
      Tag: XQuery_0-20
        heuristic.c 
Log Message:
- the value index can *not* handle PATHEXPR = VAL patterns correctly
  therefore this functionality is from now on disabled.

  we are left with PATHEXRs that terminate in /text() or /@attr 



Index: heuristic.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/semantics/heuristic.c,v
retrieving revision 1.7
retrieving revision 1.7.4.1
diff -u -d -r1.7 -r1.7.4.1
--- heuristic.c 18 Sep 2007 10:41:50 -0000      1.7
+++ heuristic.c 18 Dec 2007 15:53:42 -0000      1.7.4.1
@@ -393,8 +393,8 @@
             if (!tst) {
                 if (L(r)->sem.axis == p_attribute) {
                     tst = TST_ATTR; /* 'PATH/@attr = VAL' pattern */
-                } else {
-                    tst = TST_DATA; /* 'PATH = VAL' pattern, ie fn:data(PATH) 
*/
+                /* } else { commented out because wrong..
+                    tst = TST_DATA;  'PATH = VAL' pattern, ie fn:data(PATH) */
                 }
             }
             if (tst) *req_name = cpy(LL(LL(n)));


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to