Changeset: 81dc3b59241e for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/81dc3b59241e Modified Files: sql/backends/monet5/dict.c Branch: dict Log Message:
also handle != in dict.thetaselect diffs (17 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 @@ -633,11 +633,11 @@ DICTthetaselect(Client cntxt, MalBlkPtr if (!is_bat_nil(LC)) lc = BATdescriptor(LC); BUN max_cnt = lv->ttype == TYPE_bte?256:(64*1024); - if ((lv->tkey && op[0] == '=') || ((op[0] == '<' || op[0] == '>') && lv->tsorted && BATcount(lv) < (max_cnt/2))) { + if ((lv->tkey && (op[0] == '=' || op[0] == '!')) || ((op[0] == '<' || op[0] == '>') && lv->tsorted && BATcount(lv) < (max_cnt/2))) { BUN p = BUN_NONE; if (ATOMvarsized(lv->ttype)) v = *(ptr*)v; - if (op[0] == '=') { + if (op[0] == '=' || op[0] == '!') { p = BUNfnd(lv, v); } else if (op[0] == '<') { p = SORTfndfirst(lv, v); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list