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

Modified Files:
        logical.c physical.c 
Log Message:
- Mil implementation for the functions:
  * fn:name
  * fn:local-name
  * fn:namespace-uri
- Changed the UpdateTape function signature to be BAT[void,lng] for the kind
  of the update.


Index: physical.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/physical.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- physical.c  11 Jan 2008 10:46:56 -0000      1.50
+++ physical.c  15 Jan 2008 15:52:57 -0000      1.51
@@ -1653,7 +1653,7 @@
         case alg_fun_fn_name:
         case alg_fun_fn_local_name:
         case alg_fun_fn_namespace_uri:
-            assert (n->sem.fun_1to1.refs.count == 1);
+            assert (refs.count == 1);
             /* make sure attribute is of type node */
             assert (n->schema.items[ix[0]].type & aat_node);
 
@@ -1666,7 +1666,7 @@
             break;
 
         case alg_fun_fn_qname:
-            assert (n->sem.fun_1to1.refs.count == 2);
+            assert (refs.count == 2);
             /* make sure both attributes are of type string */
             assert (n->schema.items[ix[0]].type == aat_str &&
                     n->schema.items[ix[1]].type == aat_str);
@@ -1675,7 +1675,7 @@
             break;
 
         case alg_fun_pf_fragment:
-            assert (n->sem.fun_1to1.refs.count == 1);
+            assert (refs.count == 1);
             /* make sure both attributes are of type string */
             assert (n->schema.items[ix[0]].type & aat_node);
 
@@ -1683,7 +1683,7 @@
             break;
 
         case alg_fun_pf_supernode:
-            assert (n->sem.fun_1to1.refs.count == 1);
+            assert (refs.count == 1);
             /* make sure both attributes are of type string */
             assert (n->schema.items[ix[0]].type & aat_node);
 

Index: logical.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/logical.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- logical.c   11 Jan 2008 10:46:56 -0000      1.75
+++ logical.c   15 Jan 2008 15:52:57 -0000      1.76
@@ -1401,7 +1401,7 @@
         case alg_fun_fn_name:
         case alg_fun_fn_local_name:
         case alg_fun_fn_namespace_uri:
-            assert (n->sem.fun_1to1.refs.count == 1);
+            assert (refs.count == 1);
             /* make sure attribute is of type node */
             assert (n->schema.items[ix[0]].type & aat_node);
 
@@ -1414,7 +1414,7 @@
             break;
 
         case alg_fun_fn_qname:
-            assert (n->sem.fun_1to1.refs.count == 2);
+            assert (refs.count == 2);
             /* make sure both attributes are of type string */
             assert (n->schema.items[ix[0]].type == aat_str &&
                     n->schema.items[ix[1]].type == aat_str);
@@ -1423,7 +1423,7 @@
             break;
 
         case alg_fun_pf_fragment:
-            assert (n->sem.fun_1to1.refs.count == 1);
+            assert (refs.count == 1);
             /* make sure attribute is of type node */
             assert (n->schema.items[ix[0]].type & aat_node);
 
@@ -1431,7 +1431,7 @@
             break;
 
         case alg_fun_pf_supernode:
-            assert (n->sem.fun_1to1.refs.count == 1);
+            assert (refs.count == 1);
             /* make sure attribute is of type node */
             assert (n->schema.items[ix[0]].type & aat_node);
 


-------------------------------------------------------------------------
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