Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30615/debug
Modified Files:
physdebug.c
Log Message:
-- Renamed algebra/intro_rec_border.c into algebra/intro_borders.c.
-- Renamed include/intro_rec_border.h into include/intro_borders.h.
-- Extended the physical algebra with a dependent cross product operator
that only evaluates its right side if the left side produces at least
one row.
This change implicitely implements a control structure for some conditionals.
E.g., the following query conditionally evaluates the independent
expressions ('doc("xmark-sf0.001.xml")//*' and 'doc("xmark-sf100.xml")//*'):
if (1 = (1,2,3))
then doc("xmark-sf0.1.xml")//*
else doc("xmark-sf100.xml")//*
With the dependent cross product operator in place this leads to the
evaluation
of the (previously independent) then-branch and the avoidance of the
evaluation
of the (expensive) else-branch.
-- Adjusted stable output.
U physdebug.c
Index: physdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/physdebug.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- physdebug.c 7 May 2009 20:00:16 -0000 1.77
+++ physdebug.c 20 May 2009 16:00:45 -0000 1.78
@@ -64,6 +64,8 @@
* around the cross symbol.
*/
, [pa_cross] = "CROSS" /* \"#00FFFF\" */
+ , [pa_dep_cross] = "DEP CROSS" /* \"#00FFFF\" */
+ , [pa_dep_border] = "dep border"
, [pa_leftjoin] = "LEFTJOIN" /* \"#00FF00\" */
, [pa_eqjoin] = "EQJOIN" /* \"#00FF00\" */
, [pa_semijoin] = "SEMIJOIN" /* \"#00FF00\" */
@@ -213,6 +215,8 @@
, [pa_empty_tbl] = "\"#C0C0C0\""
, [pa_attach] = "\"#EEEEEE\""
, [pa_cross] = "\"#990000\""
+ , [pa_dep_cross] = "\"#990000\""
+ , [pa_dep_border] = "\"#990000\""
, [pa_leftjoin] = "\"#00FF00\""
, [pa_eqjoin] = "\"#00FF00\""
, [pa_semijoin] = "\"#00FF00\""
@@ -657,6 +661,8 @@
case pa_serialize:
case pa_cross:
+ case pa_dep_cross:
+ case pa_dep_border:
case pa_append_union:
case pa_intersect:
case pa_difference:
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins