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

Modified Files:
        physical.c logical.c algebra.c 
Log Message:
-- added new 'lax' variant of fn:number that ignores NaN values.


U algebra.c
Index: algebra.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/algebra.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- algebra.c   3 Apr 2008 09:42:10 -0000       1.76
+++ algebra.c   7 Apr 2008 11:01:05 -0000       1.77
@@ -1058,6 +1058,7 @@
         case alg_fun_fn_local_name:       return "fn:local-name";
         case alg_fun_fn_namespace_uri:    return "fn:namespace-uri";
         case alg_fun_fn_number:           return "fn:number";
+        case alg_fun_fn_number_lax:       return "fn:number";
         case alg_fun_fn_qname:            return "fn:QName";
         case alg_fun_pf_fragment:         return "#pf:fragment";
         case alg_fun_pf_supernode:        return "#pf:supernode";

U physical.c
Index: physical.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/physical.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- physical.c  3 Apr 2008 09:42:13 -0000       1.64
+++ physical.c  7 Apr 2008 11:00:55 -0000       1.65
@@ -1640,6 +1640,7 @@
             break;
 
         case alg_fun_fn_number:
+        case alg_fun_fn_number_lax:
             assert (refs.count == 1);
             res_type = aat_dbl;
             break;

U logical.c
Index: logical.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/logical.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- logical.c   7 Apr 2008 08:03:00 -0000       1.91
+++ logical.c   7 Apr 2008 11:01:04 -0000       1.92
@@ -1460,6 +1460,7 @@
             break;
 
         case alg_fun_fn_number:
+        case alg_fun_fn_number_lax:
             assert (refs.count == 1);
             res_type = aat_dbl;
             break;


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to