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

Modified Files:
        pathfinder.mx 
Log Message:
* Changed the names of the new types that were introduced for the docmgm
  functions. Now the types are:
  - aat_docmgmt
  - aat_path
  - aat_docnm
  - aat_colnm
  Note that we used only 1 more bit for these types since we re-used
  the types introduced for the update functions.
* Algebra and MIL implementation for the docmgm functions:
  - pf:add-doc(str,str)
  - pf:add-doc(str,str,str)
  - pf:add-doc(str,str,int)
  - pf:add-doc(str,str,str,int)
* Change the serialize operator to identify docmgm queries and produce
  the correct MIL code for that
* MIL implementation for the docmgmt_tape
* Dummy implementation of the DocmgmTape proc in pathfinder.mx
  For now it just prints the BAT parameters, but next commit will be
  with the correct implementation.

Everything works great, but for one *very very* strange thing. Inside the 1to1
function, case alg_fun_pf_add_doc_str_int reaches until logical level and then
disappears! This case has 4 params but that must not be the problem since case
alg_fun_fn_replace_flag has also 4 params and works fine. I could use some
help/suggestions on this one, since I have no idea why this is happening.
could it be some strange elimination/optimization code?



Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.391
retrieving revision 1.392
diff -u -d -r1.391 -r1.392
--- pathfinder.mx       11 Jan 2008 10:47:19 -0000      1.391
+++ pathfinder.mx       20 Jan 2008 22:35:06 -0000      1.392
@@ -3760,6 +3760,35 @@
                    stream_nil, ws_id(ws));
 }
 
[EMAIL PROTECTED] XQuery Document Management Interface For the Algebra backend
+
+The DocmgmTape() is the same proc as play_doc_tape but adabted to the needs of 
the algebra
+backend of pathfinder.
[EMAIL PROTECTED]
+PROC DocmgmTape(BAT[oid,BAT] ws,
+                BAT[oid,str] filepath, 
+                BAT[oid,str] docname, 
+                BAT[oid,str] colname, 
+                BAT[oid,lng] percentage) : void
+{
+    filepath.print();
+    docname.print();
+    colname.print();
+    percentage.print();
+}
+
+PROC DocmgmTape(BAT[oid,BAT] ws,
+                BAT[oid,void] filepath, 
+                BAT[oid,str] docname, 
+                BAT[oid,void] colname, 
+                BAT[oid,lng] percentage) : void
+{
+    filepath.print();
+    docname.print();
+    colname.print();
+    percentage.print();
+}
+
 @- MIL Document Management Interface
 
 This is the old MIL administrative interface, now superseded by the 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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