Changeset: fbb05e0c074a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fbb05e0c074a
Modified Files:
gdk/gdk_select.c
Branch: Oct2014
Log Message:
If query predicates our outside the base table bounds (<min or >max) then the
same holds for any view or list of candidate list.
diffs (18 lines):
diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c
--- a/gdk/gdk_select.c
+++ b/gdk/gdk_select.c
@@ -355,11 +355,9 @@ do {
\
} \
} \
assert((imp_min != nil) && (imp_max != nil)); \
- if (!s && !VIEWtparent(b)) { /* no candidate list and no views*/ \
- if ((vl > imp_max || vh < imp_min) || \
- (anti && (vl < imp_min && vh > imp_max))) { \
- return 0; \
- } \
+ if ((vl > imp_max || vh < imp_min) || \
+ (anti && (vl < imp_min && vh > imp_max))) { \
+ return 0; \
} \
} while (0)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list