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

cleanup deadcode


diffs (29 lines):

diff --git a/sql/server/rel_psm.c b/sql/server/rel_psm.c
--- a/sql/server/rel_psm.c
+++ b/sql/server/rel_psm.c
@@ -517,7 +517,6 @@ sequential_block (mvc *sql, sql_subtype 
 {
        list *l=0;
        dnode *n;
-       //int i;
 
        if (THRhighwater())
                return sql_error(sql, 10, "SELECT: too many nested operators");
@@ -595,17 +594,6 @@ sequential_block (mvc *sql, sql_subtype 
                else
                        list_merge(l, reslist, NULL);
        }
-       /* drop the declared tables of this frame 
-       if (l && l->t && !has_return(l)) {
-               i = sql->topvars;
-               while(sql->vars[--i].s) {
-                       sql_var *v = &sql->vars[i];
-
-                       if (v->type.comp_type && !v->view) 
-                               list_append(l, stmt_assign(sql->sa, v->name, 
NULL, sql->frame));
-               }
-       }
-        * */
        stack_pop_frame(sql);
        return l;
 }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to