Changeset: 708e850ffb9c for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=708e850ffb9c Modified Files: sql/backends/monet5/rel_bin.c Branch: Feb2013 Log Message:
DO NOT PROPAGATE fix for sample bug. Sample call on Feb2013 does not follow the headless design, yet SQL code generator assumed so, thus performing a leftfetchjoin on values instead of oids. This is not fixed for Feb2013 release. There is no need to be propagated to the default branch, since there we use the headless version and sql code genarator is correct. diffs (11 lines): diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c --- a/sql/backends/monet5/rel_bin.c +++ b/sql/backends/monet5/rel_bin.c @@ -2663,6 +2663,7 @@ rel2bin_sample( mvc *sql, sql_rel *rel, sc = column(sql->sa, sc); sample = stmt_sample(sql->sa, stmt_alias(sql->sa, sc, tname, cname),s); + sample = stmt_mark_tail(sql->sa, stmt_reverse(sql->sa, sample), 0); for ( ; n; n = n->next) { stmt *sc = n->data; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list