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
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list