Update of /cvsroot/monetdb/pathfinder/compiler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5248/compiler
Modified Files:
Tag: PF_ROX
compile.c
Log Message:
some bugs after toying with uniprot_sprot.xml mostly ns related
- shredder: a document with default ns would not attach that ns to attributes
- move heuristic phase past qn resolution (namespaces do not work in index
plans, breaking the current mps release)
Index: compile.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/compile.c,v
retrieving revision 1.132.2.5
retrieving revision 1.132.2.6
diff -u -d -r1.132.2.5 -r1.132.2.6
--- compile.c 1 Mar 2008 11:23:02 -0000 1.132.2.5
+++ compile.c 7 Mar 2008 21:51:46 -0000 1.132.2.6
@@ -417,18 +417,6 @@
if (status->timing)
PFlog ("normalization:\t\t\t\t %s", PFtimer_str (tm));
- /* Heuristic path-reversal rewrites to start evaluation
- with indexable expressions. */
- if (status->output_format == PFoutput_format_milprint_summer) {
- /* NOTE: algebra MIL/MAL generation could/should also use it.. */
- tm = PFtimer_start ();
- proot = PFheuristic_index (proot);
- tm = PFtimer_stop (tm);
- if (status->timing)
- PFlog ("path heuristics:\t\t\t %s", PFtimer_str (tm));
-
- }
-
STOP_POINT(3);
/* Initialize data structures in the Namespace department */
@@ -463,6 +451,16 @@
STOP_POINT(5);
+ /* Heuristic path-reversal rewrites to start evaluation
+ with indexable expressions. */
+ if (status->output_format == PFoutput_format_milprint_summer) {
+ tm = PFtimer_start ();
+ proot = PFheuristic_index (proot);
+ tm = PFtimer_stop (tm);
+ if (status->timing)
+ PFlog ("path heuristics:\t\t\t %s", PFtimer_str (tm));
+ }
+
/* create guide tree */
guide_tree = PFguide_tree();
-------------------------------------------------------------------------
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