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

Modified Files:
      Tag: XQuery_0-16
        milprint_summer.c 
Log Message:
added the admin SOAP module, with which MXQ can be administered over SOAP 

compiler/compile.c
- fixed support for xrpc:// to distinguish between remapped
  GET requests (ie those that do fn:doc()) and normal
  GET requests (ie file serving). Based on file extension..
 
compiler/mil/milprint_summer.c
- fix in time_shred bokkeeping (do not use :+= for the dead-code elim)
- fix in fn:put (iter's are oids)
- added support for document management functions (dm PROC name prefix)

runtime/pathfinder.mx:
- separated out index flush PROC (_runtime_flush())
- added support for document managemnt functions (catch dm PROC name prefix)
- fix printing mode of remapped GET requests

runtime/xrpc_server.mx
- fix pseudo XRPC message generated for remapped GET requests
- fix HTTP document root initialization
- export xrpc_port such that PFurlcache can see it




Index: milprint_summer.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milprint_summer.c,v
retrieving revision 1.318.2.11
retrieving revision 1.318.2.12
diff -u -d -r1.318.2.11 -r1.318.2.12
--- milprint_summer.c   16 Feb 2007 10:51:21 -0000      1.318.2.11
+++ milprint_summer.c   17 Feb 2007 01:10:37 -0000      1.318.2.12
@@ -6488,7 +6488,7 @@
                 "  var r := ws_opendoc(ws, item%s.materialize(ipik));\n"
                 "  kind  := r.tmark([EMAIL PROTECTED]).set_kind(ELEM);\n"
                 "  item  := r.hmark([EMAIL PROTECTED]);\n"
-                "  time_shred :+= usec() - t;\n"
+                "  time_shred := time_shred + usec() - t;\n"
                 "} # end of translate fn:doc (string?) as document?\n", 
(rc)?item_ext:val_join(STR));
         return NORMAL;
     } else if (!PFqname_eq(fnQname,PFqname (PFns_fn,"collection")))
@@ -6597,7 +6597,7 @@
                 "  fn_put(ws, item_str_.materialize(ipik), 
item%03u.materialize(ipik%03u), kind%03u.materialize(ipik%03u), int_values, 
dbl_values, dec_values, str_values);\n"
                 "  item := bat(void,oid).seqbase([EMAIL PROTECTED]);\n"
                 "  kind := bat(void,int).seqbase([EMAIL PROTECTED]);\n"
-                "  iter := 1;\n"
+                "  iter := [EMAIL PROTECTED];\n"
                 "  pos := 1;\n"
                 "  ipik := item;\n"
                 "} # end of translate fn:put (node, string) as stmt\n", 
counter, counter, counter, counter);
@@ -10874,7 +10874,7 @@
         /* ============================================== */
 
         /* finish name by printing start (hashed name), connecting and 
terminating it */
-        sprintf(c->sem.fun->sig, "%s%08X", (stmt==1)?"up":"fn", hash);
+        sprintf(c->sem.fun->sig, "%s%08X", (stmt==1)?"up":(stmt==2)?"dm":"fn", 
hash);
         c->sem.fun->sig[10] = '_';
         c->sem.fun->sig[j] = 0;
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to