Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv7577/compiler/include
Modified Files:
Tag: M5XQ
physical.h
Log Message:
propagated changes of Wednesday Oct 07 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/10/07 - sjoerd: compiler/include/physical.h,1.58
propagated changes of Tuesday Oct 06 2009 - Wednesday Oct 07 2009
from the Aug2009_NFI branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/10/06 - boncz: compiler/include/physical.h,1.56.6.2
enable heuristic rewrite value-selections in the algebra backend of
MonetDB/xQuery
has to properly implement pf:attribute(ctx, node, ns1, loc1, ns2, loc2)
first,
as only the verion without namespaces was there (that one is now gone).
many restrictions:
- only non-loop-lifted equality tests
- not involving fn:collection or pf:collection (as path reversal in the
latter will never find the supernode)
- not involving any date/time/etc typed expressions (as the indices only
work for string and numerical equality)
went through the testweb and fixed all apparant problems
note the Aug2009_NFI value indices are full; whereas previously they would
omit frequent data items
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
U physical.h
Index: physical.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/physical.h,v
retrieving revision 1.54.2.3
retrieving revision 1.54.2.4
diff -u -d -r1.54.2.3 -r1.54.2.4
--- physical.h 5 Oct 2009 12:15:21 -0000 1.54.2.3
+++ physical.h 7 Oct 2009 14:23:31 -0000 1.54.2.4
@@ -389,6 +389,7 @@
PFalg_col_t item; /**< column to look up the context nodes */
PFalg_col_t item_doc; /**< column to store the fragment info */
PFalg_col_t item_res; /**< column to store the resulting nodes */
+ const char *ns1, *loc1, *ns2, *loc2;
} vx_lookup;
};
@@ -935,7 +936,11 @@
PFalg_col_t item,
PFalg_col_t item_res,
PFalg_col_t item_doc,
- bool id);
+ bool id,
+ const char* ns1,
+ const char* loc1,
+ const char* ns2,
+ const char* loc2);
#endif /* PHYSICAL_H */
------------------------------------------------------------------------------
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