Changeset: c8d778b7826b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c8d778b7826b
Modified Files:
        sql/server/rel_schema.c
Branch: default
Log Message:

small cleanup


diffs (32 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
@@ -977,27 +977,7 @@
                sql->session->schema = ss;
                n = schema_elements->h;
                while (n) {
-                       sql_rel *res = NULL;
-
-                       /*
-                       if (n->data.sym->token == SQL_CREATE_TABLE) {
-                               dlist *l = n->data.sym->data.lval;
-                               dlist *qname = l->h->next->data.lval;
-                               char *sname = qname_schema(qname);
-                               char *name = qname_table(qname);
-
-                               assert(l->h->type == type_int);
-                               assert(l->h->next->next->next->type == 
type_int);
-                               res = rel_create_table(sql, ss, 
l->h->data.i_val, sname, name, l->h->next->next->data.sym, 
l->h->next->next->next->data.i_val);
-                       } else if (n->data.sym->token == SQL_CREATE_VIEW) {
-                               dlist *l = n->data.sym->data.lval;
-
-                               assert(l->h->next->next->next->type == 
type_int);
-                               assert(l->h->next->next->next->next->type == 
type_int);
-                               res = rel_create_view(sql, ss, l->h->data.lval, 
l->h->next->data.lval, l->h->next->next->data.sym, 
l->h->next->next->next->data.i_val, l->h->next->next->next->next->data.i_val);
-                       }
-                       */
-                       res = rel_semantic(sql, n->data.sym);
+                       sql_rel *res = rel_semantic(sql, n->data.sym);
                        if (!res) {
                                rel_destroy(ret);
                                return NULL;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to