[Monetdb-developers] [Monetdb-pf-checkins] pathfinder/runtime pathfinder.mx, Feb2010, 1.478.2.4, 1.478.2.5

Ying Zhang Y.Zhang at cwi.nl
Fri Apr 9 13:42:25 CEST 2010


On Fri, Apr 09, 2010 at 11:15:08AM +0000, Sjoerd Mullender wrote:
> Update of /cvsroot/monetdb/pathfinder/runtime
> In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv30978
> 
> Modified Files:
>       Tag: Feb2010
> 	pathfinder.mx 
> Log Message:
> leftfetchjoin may return a view (in this case on idx_timestamps),
> preventing the replace on idx_timestamps later on.
> This fixes the problem that
> doc("http://...")
> gives a "no such document" error.

No need to add test for this.  It is already included by several tests, e.g.,
    WebSite/Tests/books1.xq
    WebSite/Tests/HelloWorld9.xq
    WebSite/Tests/books2.xq
    WebSite/Tests/slashdot2.xq
    WebSite/Tests/books3.xq
    WebSite/Tests/slashdot.xq
    WebSite/Tests/HelloWorldA.xq

The testweb results (of the candidate branch) show that HelloWorld9.xq,
HelloWorldA.xq and books1.xq fail with this error, *only* on Fedora10
G.64.64.d.0

Jennie


> 
> 
> Index: pathfinder.mx
> ===================================================================
> RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
> retrieving revision 1.478.2.4
> retrieving revision 1.478.2.5
> diff -u -d -r1.478.2.4 -r1.478.2.5
> --- pathfinder.mx	29 Mar 2010 10:38:24 -0000	1.478.2.4
> +++ pathfinder.mx	9 Apr 2010 11:15:06 -0000	1.478.2.5
> @@ -3284,7 +3284,7 @@
>  
>      # for not-yet-cached URIs: get lifetime from uri_lifetime BAT
>      var idx_idx := idx_doc.ord_uselect(oid_nil).mirror();
> -    var idx_ts := idx_idx.leftfetchjoin(idx_filenames).ord_uselect(str_nil).mirror().leftfetchjoin(idx_timestamps);
> +    var idx_ts := idx_idx.leftfetchjoin(idx_filenames).ord_uselect(str_nil).mirror().leftfetchjoin(idx_timestamps).copy();
>      idx_ts at batloop() { # URI (filename = nil)
>          var b := [startsWith](idx_names.find($h), mirror(uri_lifetime)).uselect(true);
>          var lifetime := lng_nil;
> 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Monetdb-pf-checkins mailing list
> Monetdb-pf-checkins at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins




More information about the developers-list mailing list