Changeset: 72e73c183c86 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=72e73c183c86 Modified Files: gdk/gdk_join.c Branch: default Log Message:
Layout. diffs (13 lines): diff --git a/gdk/gdk_join.c b/gdk/gdk_join.c --- a/gdk/gdk_join.c +++ b/gdk/gdk_join.c @@ -2975,7 +2975,8 @@ BATproject(BAT *l, BAT *r) } assert(l->ttype == TYPE_oid); - if (ATOMstorage(tpe) == TYPE_str && (!rcount || (lcount << 3) > rcount)) { + if (ATOMstorage(tpe) == TYPE_str && + (rcount == 0 || lcount > (rcount >> 3))) { /* insert strings as ints, we need to copy the string * heap whole sale */ tpe = r->T->width == 1 ? TYPE_bte : (r->T->width == 2 ? TYPE_sht : (r->T->width == 4 ? TYPE_int : TYPE_lng)); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list