Changeset: 6fed09054b9e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6fed09054b9e
Modified Files:
sql/backends/monet5/sql.c
Branch: nested
Log Message:
merge upstream
diffs (12 lines):
diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -6140,7 +6140,7 @@ insert_json_array(char **msg, JSON *js,
int crs = composite_type_resultsize(t) - 1;
bat_offset += crs;
}
- if (elm > 0 && BUNappend(bats[bat_offset++], &id, false) != GDK_SUCCEED)
+ if (elm >= 0 && BUNappend(bats[bat_offset++], &id, false) !=
GDK_SUCCEED)
elm = -2;
*BO = bat_offset;
return (tail == 0)?elm:elm-1;//+1;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]