Changeset: 86280b095c4b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/86280b095c4b
Modified Files:
        sql/backends/monet5/sql.c
Branch: nested
Log Message:

reenable inserts into multisetid/nr in json code


diffs (18 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
@@ -5766,10 +5766,10 @@ insert_json_object(char **msg, JSON *js,
                }
        }
 
-       //if (elm > 0 && BUNappend(bats[w], &id, false) != GDK_SUCCEED)
-       //      elm = -3;
-       //if (t->multiset == MS_ARRAY && elm > 0 && BUNappend(bats[w+1], &anr, 
false) != GDK_SUCCEED)
-       //      elm = -3;
+       if (elm > 0 && BUNappend(bats[w], &id, false) != GDK_SUCCEED)
+               elm = -3;
+       if (t->multiset == MS_ARRAY && elm > 0 && BUNappend(bats[w+1], &anr, 
false) != GDK_SUCCEED)
+               elm = -3;
        return elm;
 }
 
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to