[prev in list] [next in list] [prev in thread] [next in thread] 

List:       monetdb-checkins
Subject:    MonetDB: Jan2014 - Fix comment.
From:       Sjoerd Mullender <commits () monetdb ! org>
Date:       2014-02-27 15:39:49
Message-ID: hg.b1e3bc465c7e.1393515589.6315528441665844383 () monetdb2 ! cwi-incubator ! nl
[Download RAW message or body]

Changeset: b1e3bc465c7e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b1e3bc465c7e
Modified Files:
	gdk/gdk_join.c
Branch: Jan2014
Log Message:

Fix comment.


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)) {
-		/* insert double-eliminated strings as ints */
+		/* 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));  /* int's nil representation is a valid offset, so
 		 * don't check for nils */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic