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

No need to first convert a view to a bat.


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
@@ -1805,14 +1805,6 @@ mvc_append_wrap(Client cntxt, MalBlkPtr 
                ins = *(ptr *) ins;
        if (isbat) {
                b =  (BAT*) ins;
-               if (isVIEW(b)) {
-                       /* note, b == (BAT*)ins */
-                       b = COLcopy(b, b->ttype, true, TRANSIENT);
-                       BBPreclaim(ins);
-                       ins = b;
-                       if (b == NULL)
-                               throw(SQL, "sql.append", GDK_EXCEPTION);
-               }
        }
        s = mvc_bind_schema(m, sname);
        if (s == NULL) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to