Changeset: 8d65e4aa0a0d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8d65e4aa0a0d
Modified Files:
sql/backends/monet5/dict.c
Branch: dict
Log Message:
only rewrite into find/point-select in case of keyed dict value bat
diffs (12 lines):
diff --git a/sql/backends/monet5/dict.c b/sql/backends/monet5/dict.c
--- a/sql/backends/monet5/dict.c
+++ b/sql/backends/monet5/dict.c
@@ -598,7 +598,7 @@ DICTselect(Client cntxt, MalBlkPtr mb, M
}
if (!is_bat_nil(LC))
lc = BATdescriptor(LC);
- if (op[0] == '=' || ((op[0] == '<' || op[0] == '>') && lv->tsorted)) {
+ if ((lv->tkey && op[0] == '=') || ((op[0] == '<' || op[0] == '>') &&
lv->tsorted)) {
if (ATOMvarsized(lv->ttype))
v = *(ptr*)v;
if (op[0] == '=') {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list