Changeset: 604e4bf0f0ec for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/604e4bf0f0ec Modified Files: sql/server/rel_schema.c Branch: unlogged Log Message:
Allow with data creation of unlogged tables. diffs (12 lines): diff --git a/sql/server/rel_schema.c b/sql/server/rel_schema.c --- a/sql/server/rel_schema.c +++ b/sql/server/rel_schema.c @@ -1376,7 +1376,7 @@ rel_create_table(sql_query *query, int t if (!is_project(sq->op)) /* make sure sq is a projection */ sq = rel_project(sql->sa, sq, rel_projections(sql, sq, NULL, 1, 1)); - if (tt != tt_table && with_data) + if ((tt != tt_table && tt != tt_unlogged_table) && with_data) return sql_error(sql, 02, SQLSTATE(42000) "%s TABLE: cannot create %s 'with data'", action, TABLE_TYPE_DESCRIPTION(tt, properties)); _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org