Changeset: 5a42e6a626e3 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5a42e6a626e3
Modified Files:
geom/monetdb5/geom.c
Branch: gdk_tracer
Log Message:
Merge with default
diffs (20 lines):
diff --git a/geom/monetdb5/geom.c b/geom/monetdb5/geom.c
--- a/geom/monetdb5/geom.c
+++ b/geom/monetdb5/geom.c
@@ -5256,13 +5256,13 @@ mbrTOSTR(char **dst, size_t *len, const
dstStrLen = strlen(tempWkt);
}
- if (*len < dstStrLen + 3 || *dst == NULL) {
+ if (*len < dstStrLen + 4 || *dst == NULL) {
GDKfree(*dst);
- if ((*dst = GDKmalloc(*len = dstStrLen + 3)) == NULL)
+ if ((*dst = GDKmalloc(*len = dstStrLen + 4)) == NULL)
return -1;
}
- if (dstStrLen > 3) {
+ if (dstStrLen > 4) {
if (external) {
snprintf(*dst, *len, "\"%s\"", tempWkt);
dstStrLen += 2;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list