Changeset: 43c34283932b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/43c34283932b
Modified Files:
sql/backends/monet5/rel_pphash.c
Branch: default
Log Message:
make sure we have an ht_empty
diffs (12 lines):
diff --git a/sql/backends/monet5/rel_pphash.c b/sql/backends/monet5/rel_pphash.c
--- a/sql/backends/monet5/rel_pphash.c
+++ b/sql/backends/monet5/rel_pphash.c
@@ -1538,7 +1538,7 @@ rel2bin_oahash_semi(backend *be, sql_rel
rids = stmt_project(be, sel, rids);
}
stmt *c = stmt_mirror(be, bin_find_smallest_column(be,
probe_sub));
- if (rel->op == op_anti && nulls) {
+ if (rel->op == op_anti && nulls && ht_empty) {
/* select nulls only if hash side not empty */
stmt *f = stmt_const(be, nulls, stmt_bool(be, 0));
stmt *s = stmt_thetaselect(be, f, NULL, ht_empty, "==",
sql_fetch_localtype(TYPE_bit));
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]