Changeset: b55d5d3dc9b5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b55d5d3dc9b5
Branch: default
Log Message:
merged with dec2025
diffs (21 lines):
diff --git a/gdk/gdk_join.c b/gdk/gdk_join.c
--- a/gdk/gdk_join.c
+++ b/gdk/gdk_join.c
@@ -3606,6 +3606,8 @@ guess_uniques(BAT *b, struct canditer *c
double B = cnt1 - n1 * A;
B += A * ci->ncand;
+ if (B > (double) max)
+ B = (double) max;
MT_lock_set(&b->theaplock);
if (ci->s == NULL ||
(ci->tpe == cand_dense && ci->ncand == BATcount(b) && ci->ncand ==
batcount)) {
@@ -3613,8 +3615,6 @@ guess_uniques(BAT *b, struct canditer *c
b->tunique_est = B;
}
MT_lock_unset(&b->theaplock);
- if (B > (double) max)
- B = (double) max;
return B;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]