Update of /cvsroot/monetdb/pathfinder/backends/monet5
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv15005/pf_M5XQ/backends/monet5

Modified Files:
      Tag: M5XQ
        xquery.mx 
Log Message:

Fixed MAL syntax to make xquery module loadable, again.


U xquery.mx
Index: xquery.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/backends/monet5/Attic/xquery.mx,v
retrieving revision 1.4.2.2
retrieving revision 1.4.2.3
diff -u -d -r1.4.2.2 -r1.4.2.3
--- xquery.mx   28 Apr 2009 00:30:00 -0000      1.4.2.2
+++ xquery.mx   28 Apr 2009 17:35:08 -0000      1.4.2.3
@@ -35,7 +35,7 @@
 
 @- XQuery shredder interface (xquery_shredder.mx)
 @mal
-command shred_url(doc:bat[:str,:bat], url:str, percentage:lng) :void
+command shred_url(doc:bat[:str,:bat], url:str, percentage:lng) : void
 address XQUERY_ShredURL
 comment "Shred an XML document from a URL. Parameters: URL - document located 
at this URL is shredded, percentage - a number [0,100] indicating the amount of 
free space to reserve for updates (percentage=0 leads to a read-only document)"
 
@@ -55,13 +55,13 @@
 comment "C interface to Workset print routine"
 
 command print_result(genType:str, ws:bat[:oid,:bat],
-                     loop:bat[:oid,:any], iter:bat[:oid,:oid], 
item:bat[:oid,:oid] item, kind:BAT[:oid,int],
+                     loop:bat[:oid,:any], iter:bat[:oid,:oid], 
item:bat[:oid,:oid], kind:bat[:oid,:int],
                      int_values:bat[:oid,:lng], dbl_values:bat[:oid,:dbl], 
str_values:bat[:oid,:str]) : void 
 address XQUERY_PrintResultLoop
 comment "C interface to Workset result print routine, that can print multiple 
iters"
 
 command print_result(genType:str, ws:bat[:oid,:bat],
-                     loop:bat[:oid,:any], iter:bat[:oid,:oid], 
item:bat[:oid,:oid] item, kind:BAT[:oid,int],
+                     loop:bat[:oid,:any], iter:bat[:oid,:oid], 
item:bat[:oid,:oid], kind:bat[:oid,:int],
                      int_values:bat[:oid,:lng], dbl_values:bat[:oid,:dbl], 
str_values:bat[:oid,:str],
                      xrpc_module:str, xrpc_method:str, xrpc_qid:str, 
xrpc_caller:str, xrpc_mode:str, 
                      xrpc_hostport:str, xrpc_updating:bit, xrpc_seqnr:lng, 
xrpc_timeout:lng, xrpc_start:lng) : void 
@@ -69,22 +69,22 @@
 comment "C interface to Workset result print routine, that can print multiple 
iters"
 
 command print_result(genType:str, ws:bat[:oid,:bat],
-                     item:bat[:oid,:oid] item, kind:BAT[:oid,int],
+                     item:bat[:oid,:oid], kind:bat[:oid,:int],
                      int_values:bat[:oid,:lng], dbl_values:bat[:oid,:dbl], 
str_values:bat[:oid,:str]) : void 
 address XQUERY_PrintResultMain
 comment "C interface to Workset result print routine"
 
 command print_result(file:str, genType:str, ws:bat[:oid,:bat],
-                     item:bat[:oid,:oid] item, kind:BAT[:oid,int],
+                     item:bat[:oid,:oid], kind:bat[:oid,:int],
                      int_values:bat[:oid,:lng], dbl_values:bat[:oid,:dbl], 
str_values:bat[:oid,:str]) : void 
 address XQUERY_PrintResultFile
 comment "C interface to Workset result print routine, but print to a file"
 
 command fn_deep_eq(ws:bat[:oid,:bat], 
-                   litem:bat[:oid,:oid], lkind bat[:oid,:int], 
-                   ritem:bat[:oid,:oid], rkind:bat[:oid,:int]) : 
bat[:oid,:bit] 
+                   litem:bat[:oid,:oid], lkind:bat[:oid,:int], 
+                   ritem:bat[:oid,:oid], rkind:bat[:oid,:int]) :bat[:oid,:bit] 
 address XQUERY_fn_deep_eq
-command "C interface to fn:deep_eq() implementation using the serializer"
+comment "C interface to fn:deep_eq() implementation using the serializer"
 
 @h
 #ifndef _XQUERY_H


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to