Changeset: 2a59db0b1f15 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/2a59db0b1f15
Modified Files:
gdk/gdk_batop.c
Branch: default
Log Message:
If to-be-appended vheap larger than appended-to vheap, don't check for overlap.
diffs (12 lines):
diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -136,7 +136,7 @@ insert_string_bat(BAT *b, BAT *n, struct
return GDK_FAIL;
}
}
- if (toff == ~(size_t) 0 && cnt > 1024) {
+ if (toff == ~(size_t) 0 && cnt > 1024 && b->tvheap->free >=
n->tvheap->free) {
/* If b and n aren't sharing their string
* heaps, we try to determine whether to copy
* n's whole string heap to the end of b's, or
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list