Changeset: 18abde1331d0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=18abde1331d0
Modified Files:
        sql/backends/monet5/sql.c
Branch: default
Log Message:

Headless type fixed


diffs (21 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
@@ -2149,7 +2149,7 @@ setwritable(BAT *b)
 
        if (BATsetaccess(b, BAT_WRITE) != GDK_SUCCEED) {
                if (b->batSharecnt) {
-                       bn = BATcopy(b, b->htype, b->ttype, TRUE, TRANSIENT);
+                       bn = BATcopy(b, TYPE_void, b->ttype, TRUE, TRANSIENT);
                        if (bn != NULL)
                                BATsetaccess(bn, BAT_WRITE);
                } else {
@@ -2340,7 +2340,7 @@ DELTAsub(bat *result, const bat *col, co
                        i = u_id;
                }
                if (isVIEW(res)) {
-                       BAT *n = BATcopy(res, res->htype, res->ttype, TRUE, 
TRANSIENT);
+                       BAT *n = BATcopy(res, TYPE_void, res->ttype, TRUE, 
TRANSIENT);
                        BBPunfix(res->batCacheid);
                        res = n;
                        if (res == NULL) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to