Changeset: 857daff87af5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/857daff87af5
Modified Files:
monetdb5/modules/mal/pp_hash.c
Branch: manti
Log Message:
off-by-1 error
diffs (12 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
@@ -3652,7 +3652,7 @@ OAHASHexpand3(Client ctx, MalBlkPtr mbp,
TIMEOUT_LOOP_IDX_DECL(i, ht->size, qry_ctx) {
if(ht->gids[i]) {
assert(ht->gids[i] < ht->last);
- allgids[hpcnt++] = ht->gids[i];
+ allgids[hpcnt++] = ht->gids[i] -1;
}
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]