Changeset: 6a34261270c6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6a34261270c6
Modified Files:
monetdb5/modules/mal/pp_hash.c
Branch: pp_hashjoin
Log Message:
explanation for code
diffs (14 lines):
diff --git a/monetdb5/modules/mal/pp_hash.c b/monetdb5/modules/mal/pp_hash.c
--- a/monetdb5/modules/mal/pp_hash.c
+++ b/monetdb5/modules/mal/pp_hash.c
@@ -2092,7 +2092,9 @@ OAHASHomprobe(Client ctx, bat *PRB_oid,
oid *oid_mtd = Tloc(o, 0);
oid *slt = Tloc(s, 0);
bit *mark = Tloc(m, 0);
- bit has_nil = false, empty = ht->empty?false:bit_nil;
+ bit has_nil = false;
+ /* probing an empty hash table always yields FALSE; otherwise,
bit_nil for unknown */
+ bit empty = ht->empty?false:bit_nil;
BUN off = k->hseqbase;
switch(tt) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]