Update of /cvsroot/monetdb/pathfinder/compiler/algebra
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5013/algebra
Modified Files:
algopt.c
Log Message:
-- Apply CSE before and not after an optimization phase (to make sure CSE
is not responsible for erroneous query plans).
Index: algopt.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/algopt.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- algopt.c 28 Nov 2007 17:03:48 -0000 1.26
+++ algopt.c 29 Nov 2007 15:39:06 -0000 1.27
@@ -109,6 +109,8 @@
fprintf (stderr, "-o");
while (*args) {
+ root = PFla_cse (root);
+
if (debug_opt)
fputc (*args, stderr);
@@ -449,7 +451,6 @@
break;
}
args++;
- root = PFla_cse (root);
}
if (debug_opt)
fputc ('\n', stderr);
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins