Changeset: ebfadd77f941 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ebfadd77f941
Modified Files:
gdk/gdk_relop.mx
Branch: Feb2013
Log Message:
fetchjoin: cannot monitor sortedness on the fly with any string tail
diffs (31 lines):
diff --git a/gdk/gdk_relop.mx b/gdk/gdk_relop.mx
--- a/gdk/gdk_relop.mx
+++ b/gdk/gdk_relop.mx
@@ -877,8 +877,11 @@ defaultfetchjoin_@1_@2(BAT *bn, BAT *l,
(BATtrevordered(l) & BATtrevordered(r))) {
/* will be set correctly once we're done */
bn->tsorted = bn->trevsorted = 0;
- } else if (tpe != r->ttype && ATOMstorage(r->ttype) == TYPE_str) {
- /* "string trick" => cannot compare on the fly */
+ } else if (ATOMstorage(r->ttype) == TYPE_str) {
+ /* either: "string trick" => cannot compare on the fly
+ * or: "real string" => cannot (yet?) cope with
+ * heap extend or index width extend
+ */
bn->tsorted = bn->trevsorted = 0;
derive_tail_properties = TRUE;
} else if (r->ttype == TYPE_void) {
@@ -1069,8 +1072,11 @@ batfetchjoin(BAT *l, BAT *r, BUN estimat
(BATtrevordered(l) & BATtrevordered(r))) {
/* will be set correctly once we're done */
bn->tsorted = bn->trevsorted = 0;
- } else if (rtt != r->ttype && ATOMstorage(r->ttype) ==
TYPE_str) {
- /* "string trick" => cannot compare on the fly */
+ } else if (ATOMstorage(r->ttype) == TYPE_str) {
+ /* either: "string trick" => cannot compare on the fly
+ * or: "real string" => cannot (yet?) cope with
+ * heap extend or index width extend
+ */
bn->tsorted = bn->trevsorted = 0;
derive_tail_properties = TRUE;
} else if (r->ttype == TYPE_void) {
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list