Changeset: 39ea2e9fe4a8 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=39ea2e9fe4a8 Modified Files: gdk/gdk_join.c Branch: Oct2014 Log Message:
make sure we only apply the stringtrick in BATproject when there are no nil's oids (in l). Fixes bug 3583 diffs (12 lines): diff --git a/gdk/gdk_join.c b/gdk/gdk_join.c --- a/gdk/gdk_join.c +++ b/gdk/gdk_join.c @@ -2976,7 +2976,7 @@ BATproject(BAT *l, BAT *r) } assert(l->ttype == TYPE_oid); - if (ATOMstorage(tpe) == TYPE_str && + if (ATOMstorage(tpe) == TYPE_str && l->T->nonil && (rcount == 0 || lcount > (rcount >> 3))) { /* insert strings as ints, we need to copy the string * heap whole sale */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list