Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5140/compiler/debug
Modified Files:
Tag: M5XQ
physdebug.c
Log Message:
propagated changes of Wednesday May 20 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/20 - tsheyar: compiler/debug/physdebug.c,1.78
-- 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.75.2.2
retrieving revision 1.75.2.3
diff -u -d -r1.75.2.2 -r1.75.2.3
--- physdebug.c 12 May 2009 13:35:32 -0000 1.75.2.2
+++ physdebug.c 20 May 2009 16:28:37 -0000 1.75.2.3
@@ -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