Changeset: 3cc2c0060646 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3cc2c0060646
Modified Files:
gdk/gdk_unique.c
Branch: default
Log Message:
reverting changeset 51692:b880b37a6626
building hash on just the candidates sofar needs the big hash table.
Better (performance wise) solution should follow soon
diffs (14 lines):
diff --git a/gdk/gdk_unique.c b/gdk/gdk_unique.c
--- a/gdk/gdk_unique.c
+++ b/gdk/gdk_unique.c
@@ -236,8 +236,8 @@ BATsubunique(BAT *b, BAT *s)
snprintf(hp->filename, nmelen + 30,
"%s.hash" SZFMT, nme, MT_getpid()) < 0 ||
(ext = GDKstrdup(hp->filename + nmelen + 1)) == NULL ||
- (hs = HASHnew(hp, b->ttype, s?BUNlast(s):BUNlast(b),
-
s?HASHmask(s->batCount):HASHmask(b->batCount))) == NULL) {
+ (hs = HASHnew(hp, b->ttype, BUNlast(b),
+ HASHmask(b->batCount))) == NULL) {
if (hp) {
if (hp->filename)
GDKfree(hp->filename);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list