Changeset: b9d72087696a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b9d72087696a
Modified Files:
        monetdb5/optimizer/opt_macro.c
Branch: Jan2014
Log Message:

Get scope right.


diffs (16 lines):

diff --git a/monetdb5/optimizer/opt_macro.c b/monetdb5/optimizer/opt_macro.c
--- a/monetdb5/optimizer/opt_macro.c
+++ b/monetdb5/optimizer/opt_macro.c
@@ -511,9 +511,10 @@ OPTorcamImplementation(Client cntxt, Mal
                j = getSubScope(fcn);
                for (t = s->subscope[j]; t != NULL; t = t->peer)
                        if (t->def->errors == 0) {
-                               if (getSignature(t)->token == FUNCTIONsymbol)
+                               if (getSignature(t)->token == FUNCTIONsymbol) {
                                        msg =ORCAMprocessor(cntxt, target, t);
-                               if( msg) GDKfree(msg);
+                                       if( msg) GDKfree(msg);
+                               }
                        }
        }
        return 1;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to