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

small fix check if composite


diffs (14 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
@@ -5850,7 +5850,9 @@ insert_json_array(char **msg, JSON *js, 
                                n = t->type->d.fields->h;
                                if (n) {
                                        sql_arg *a = n->data;
-                                       t = &a->type;
+                                       sql_subtype *atype = &a->type;
+                                       if (atype->type->composite)
+                                               t = atype;
                                }
                                elm = insert_json_object(msg, js, bats, 
bat_offset + 1, nr, elm, id, anr++, t);
                                (void)oanr; // outer array number
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to