Update of /cvsroot/monetdb/pathfinder/compiler/semantics
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11917/semantics

Modified Files:
        xquery_fo.c 
Log Message:
-- Try to fix NaN issues in selections on the XQuery core level
   (where we still have a bigger context).

   This might fix issues reported in bug #2876948.


U xquery_fo.c
Index: xquery_fo.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/semantics/xquery_fo.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- xquery_fo.c 7 Oct 2009 13:29:23 -0000       1.188
+++ xquery_fo.c 12 Oct 2009 16:15:14 -0000      1.189
@@ -2732,6 +2732,12 @@
             .par_ty = (PFty_t[]) { PFty_star (PFty_xs_double ()) },
             .ret_ty = PFty_xs_double () } },
         .alg = PFbui_fn_prod_dbl }
+    , /* pf:number (atomic?) as double? */
+      { .ns = PFns_pf, .loc = "number",
+        .arity = 1, .sig_count = 1, .sigs = { {
+            .par_ty = (PFty_t[]) { PFty_opt (PFty_atomic ()) },
+            .ret_ty = PFty_xs_double () } },
+        .alg = PFbui_pf_number }
 
 /* #3. UPDATE FUNCTIONS */
     /* Below are the function declarations for the UpdateX functions */


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to