Changeset: 0ca02ac59d94 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0ca02ac59d94
Modified Files:
sql/backends/monet5/sql.c
Branch: mosaic
Log Message:
Call proper decompression routine
diffs (15 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
@@ -593,7 +593,10 @@ alter_table(Client cntxt, mvc *sql, char
if (c->t->access == TABLE_WRITABLE)
return sql_message("40002!ALTER TABLE: SET
STORAGE for column %s.%s only allowed on READ or INSERT ONLY tables",
c->t->base.name, c->base.name);
- msg = MOScompressInternal(cntxt, &bid, &b->batCacheid,
c->storage_type);
+ if( c->storage_type)
+ msg = MOScompressInternal(cntxt, &bid,
&b->batCacheid, c->storage_type);
+ else
+ msg = MOSdecompressInternal(cntxt,
&bid, &b->batCacheid);
if (msg)
return msg;
allocate_delta(sql->session->tr, nc);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list