Changeset: 9b004d352a06 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9b004d352a06
Modified Files:
sql/backends/monet5/sql.c
Branch: Jan2014
Log Message:
Don't append to a view.
diffs (13 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
@@ -2067,6 +2067,9 @@ DELTAsub(bat *result, bat *col, bat *cid
i = BATmirror(BATmark(cminu, 0));
BBPunfix(cminu->batCacheid);
}
+ if (isVIEW(res) &&
+ (res = BATcopy(res, res->htype, res->ttype, TRUE)) == NULL)
+ throw(MAL, "sql.delta", OPERATION_FAILED);
res = BATappend(res, i, TRUE);
BBPunfix(i->batCacheid);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list