Changeset: 2d596c686f09 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2d596c686f09
Modified Files:
sql/server/rel_bin.c
Branch: Apr2012
Log Message:
fix crash with multiple join indices
diffs (12 lines):
diff --git a/sql/server/rel_bin.c b/sql/server/rel_bin.c
--- a/sql/server/rel_bin.c
+++ b/sql/server/rel_bin.c
@@ -630,7 +630,7 @@ exp_bin(mvc *sql, sql_exp *e, stmt *left
if (e->flag == cmp_or && right) /* join */
assert(0);
/* here we handle join indices */
- if ((p=find_prop(e->p, PROP_JOINIDX)) != NULL) {
+ if (right && (p=find_prop(e->p, PROP_JOINIDX)) != NULL) {
sql_idx *i = p->value;
sql_exp *el = e->l;
sql_exp *er = e->r;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list