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

Modified Files:
      Tag: PF_ROX
        algebra.h builtins.h 
Log Message:
propagated changes of Friday May 30 2008 - Saturday May 31 2008
from the development trunk to the PF_ROX branch

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/05/30 - mayrm: compiler/algebra/builtins.c,1.97(Current_DailyBuild-31)
        compiler/algebra/logical.c,1.100(Current_DailyBuild-31)
        compiler/debug/logdebug.c,1.102(Current_DailyBuild-31)
        compiler/include/algebra.h,1.87(Current_DailyBuild-31)
        compiler/include/builtins.h,1.51(Current_DailyBuild-31)
        compiler/semantics/xquery_fo.c,1.162(Current_DailyBuild-31)
        compiler/sql/lalg2sql.brg,1.134(Current_DailyBuild-31)

Implementation for ``fn:node-name($arg as node()?) as xs:QName?'',
which forms the backbone of
  - fn:name (),
  - fn:local_name() and
  - fn:namespace_uri ().

doc_access-operator now has another accessor ``doc_QName'',
which supports access to the QName. ``doc_QName'' is not supported
by the MIL translation, yet.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/05/31 - stmane: compiler/algebra/physical.c,1.71(Current_DailyBuild-31)
        compiler/algebra/planner.c,1.64(Current_DailyBuild-31)
        compiler/algebra/opt/opt_complex.c,1.46(Current_DailyBuild-31)
        compiler/debug/physdebug.c,1.63(Current_DailyBuild-31)
propagated changes of Friday May 30 2008 - Saturday May 31 2008
from the XQuery_0-24 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/05/30 - tsheyar:
        
compiler/debug/physdebug.c,1.62.2.1(XQuery_0-24,xrpcdemo_sync,Stable_DailyBuild-31)
-- Only print properties if we really have them (fixes a segfault).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/05/30 - tsheyar:
        compiler/algebra/physical.c,1.69.2.2(XQuery_0-24,Stable_DailyBuild-31)
-- doc_tbl is trivially sorted for inputs of cardinality 1.
   (This change avoids the planning of a physical sort operator.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/05/30 - tsheyar:
        compiler/algebra/planner.c,1.62.2.2(XQuery_0-24,Stable_DailyBuild-31)
-- add missing physical implementation for the step_join operator.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/05/30 - tsheyar:
        
compiler/algebra/opt/opt_complex.c,1.45.2.1(XQuery_0-24,Stable_DailyBuild-31)
-- performance fix for step_joins.
   (Merge step_join pair implementing descendant-or-self::node()/child::___
    into a single step_join descendant::___.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/05/31 - stmane: compiler/algebra/planner.c,1.62.2.3(XQuery_0-24)

fixed compilation: removed unused variable
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


U algebra.h
Index: algebra.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/algebra.h,v
retrieving revision 1.70.2.8
retrieving revision 1.70.2.9
diff -u -d -r1.70.2.8 -r1.70.2.9
--- algebra.h   30 May 2008 12:43:32 -0000      1.70.2.8
+++ algebra.h   31 May 2008 11:45:17 -0000      1.70.2.9
@@ -377,9 +377,7 @@
     , doc_text         /**< content of a text node > */
     , doc_comm         /**< content of a comment node > */
     , doc_pi_text      /**< content of a pi node > */
-/*    , doc_name   */      /**< name of element node > */
-/*    , doc_local  */      /**< local part of an element node name > */
-/*    , doc_uri    */      /**< uri part of an element node name > */
+       , doc_qname        /**< QName of a node > */
 };
 typedef enum PFalg_doc_t PFalg_doc_t;
 

U builtins.h
Index: builtins.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/builtins.h,v
retrieving revision 1.44.2.4
retrieving revision 1.44.2.5
diff -u -d -r1.44.2.4 -r1.44.2.5
--- builtins.h  30 May 2008 12:43:34 -0000      1.44.2.4
+++ builtins.h  31 May 2008 11:45:17 -0000      1.44.2.5
@@ -48,6 +48,19 @@
 #include "core2alg.h"
 
 /* 2. ACCESSORS */
+/* 2.1. fn:node_name */
+struct PFla_pair_t PFfn_bui_node_name_attr (const PFla_op_t *loop,
+                                                                               
bool ordering,
+                                                                       struct 
PFla_pair_t *args);
+
+struct PFla_pair_t PFfn_bui_node_name_elem (const PFla_op_t *loop,
+                                                                               
        bool ordering,
+                                                                               
        struct PFla_pair_t *args);
+
+struct PFla_pair_t PFfn_bui_node_name_node (const PFla_op_t *loop,
+                                                                               
        bool ordering,
+                                                                               
struct PFla_pair_t *args);
+
 /* 2.3. fn:string */
 struct PFla_pair_t PFbui_fn_string_attr (const PFla_op_t *loop,
                                          bool ordering,


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