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

Modified Files:
        milgen.brg 
Log Message:
* Algebra and MIL implementation of the XQuery update functions:
   upd:delete
   upd:insertAfter
   upd:insertBefore
   upd:insertIntoAsFirst
   upd:insertIntoAsLast
   upd:rename
   upd:replaceElementContent
   upd:replaceNode
   upd:replaceValue

   There is some things that must be still done in the algebra level, e.g.,
   reverse the order of the sequence in the insertBefore/insertIntoASFirst
   functions. Also the mil implementation of the serialize operator for
   updates is not done yet. So basically updates wont work yet in the
   algebra backend, but we are getting closer.



Index: milgen.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milgen.brg,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- milgen.brg  26 Oct 2007 13:03:15 -0000      1.86
+++ milgen.brg  20 Nov 2007 16:57:28 -0000      1.87
@@ -177,8 +177,8 @@
 Rel:      val_select (Rel)                                         =  22 (10);
 Rel:      append_union (Rel, Rel)                                  =  23 (10);
 Rel:      append_union (hash_count (Rel),
-                        attach (difference 
-                                    (Rel, 
+                        attach (difference
+                                    (Rel,
                                      project (hash_count (Rel))))) =  24 (40);
 Rel:      merge_union (Rel, Rel)                                   =  25 (10);
 Rel:      intersect (Rel, Rel)                                     =  26 (10);
@@ -320,7 +320,7 @@
[...1963 lines suppressed...]
 
     bodymilprog = milprog;
-    
+
     milprog = seq (module (lit_str ("pathfinder")),
                    module (lit_str ("mkey")),
                    /* add timing information */
@@ -7985,10 +8105,10 @@
                    assgn (var (PF_MIL_VAR_TIME_LOAD), lit_int (0)),
                    assgn (var (PF_MIL_VAR_TIME_PRINT), lit_int (0)),
                    assgn (var (PF_MIL_VAR_TIME_QUERY), usec ()));
-    
+
     /* prepend variable declarations before the actual program */
     for (unsigned int i = 0; i < PFarray_last (mvars); i++)
-        milprog = seq (milprog, 
+        milprog = seq (milprog,
                        declare (
                            var (((mvar_t *) PFarray_at (mvars, i))->name)));
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to