Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17367

Modified Files:
        opt_joinpath.mx 
Log Message:
Comment correctly a big block of C code...

Thanks Sjoerd...


Index: opt_joinpath.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_joinpath.mx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- opt_joinpath.mx     7 Feb 2008 17:44:59 -0000       1.22
+++ opt_joinpath.mx     7 Feb 2008 19:07:54 -0000       1.23
@@ -254,7 +254,8 @@
 
        lc = BATcount(l);
        rc = BATcount(r);
-/*     if( lc > 100000 || rc > 100000){
+#if 0  
+       if( lc > 100000 || rc > 100000){
                lsize= MIN(lc/100, (1<<SAMPLE_THRESHOLD_lOG)/3);
                lsample= BATsample(l,lsize);
                BBPreclaim(lsample);
@@ -265,7 +266,8 @@
                lsize= BATcount(j);
                BBPreclaim(j);
                return lsize;
-       }*/
+       }
+#endif
        if( l->ttype== TYPE_oid || r->htype== TYPE_oid )
                return MIN(lc,rc);
        return lc * rc;


-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to