Changeset: e4f7430599dd for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e4f7430599dd
Modified Files:
gdk/gdk_search.c
Branch: default
Log Message:
Compare correct values.
diffs (18 lines):
diff --git a/gdk/gdk_search.c b/gdk/gdk_search.c
--- a/gdk/gdk_search.c
+++ b/gdk/gdk_search.c
@@ -128,10 +128,11 @@ SORTfndwhich(BAT *b, const void *v, enum
tp = ATOMbasetype(b->ttype);
if (use_orderidx) {
+ if (b->torderidx == NULL ||
+ b->torderidx->base == NULL) {
+ GDKerror("ORDERfindwhich: order idx not found\n");
+ }
o = (const oid *) b->torderidx->base + ORDERIDXOFF;
- if (o == NULL) {
- GDKerror("#ORDERfindwhich: order idx not found\n");
- }
lo = 0;
hi = BATcount(b);
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list