Changeset: b225f4b85eee for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b225f4b85eee Modified Files: sql/backends/monet5/sql_optimizer.c Branch: types Log Message:
Only consider the value part of BAT diffs (20 lines): diff --git a/sql/backends/monet5/sql_optimizer.c b/sql/backends/monet5/sql_optimizer.c --- a/sql/backends/monet5/sql_optimizer.c +++ b/sql/backends/monet5/sql_optimizer.c @@ -95,15 +95,9 @@ SQLgetSpace(mvc *m, MalBlkPtr mb, int pr bid = ((sql_delta *)c->data)->cs.bid; if( extend == 1){ q = newStmt(mb, propertiesRef, bindRef); - q = pushArgument(mb, q, getArg(p,0)); + q = pushArgument(mb, q, getArg(p,p->retc-1)); q = pushInt(mb, q, bid); q->token = REMsymbol; - if( p->retc == 2){ - q = newStmt(mb, propertiesRef, bindRef); - q = pushArgument(mb, q, getArg(p,1)); - q = pushInt(mb, q, bid); - q->token = REMsymbol; - } } /* we have to sum the cost of all three components of a BAT */ if (c && isTable(c->t) && (lasttable == 0 || strcmp(lasttable,tname)==0)) { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list