Changeset: 745320bfaec5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=745320bfaec5
Modified Files:
        monetdb5/optimizer/opt_costModel.c
Branch: Oct2014
Log Message:

Estimate using subselect fixed


diffs (12 lines):

diff --git a/monetdb5/optimizer/opt_costModel.c 
b/monetdb5/optimizer/opt_costModel.c
--- a/monetdb5/optimizer/opt_costModel.c
+++ b/monetdb5/optimizer/opt_costModel.c
@@ -61,7 +61,7 @@ OPTcostModelImplementation(Client cntxt,
                if (getModuleId(p)==algebraRef) {
                         if (getFunctionId(p) == subselectRef ||
                                getFunctionId(p) == thetasubselectRef) {
-                               newRows(1,1, (c1 > 100 ? c1 / 2 +1: c1),0);
+                               newRows(1,2, (c1 > 2 ? c2 / 2 +1: c1/2+1),0);
                        } else if (
                                getFunctionId(p) == selectNotNilRef  ||
                                getFunctionId(p) == sortRef  ||
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to