Changeset: 3bedfe315882 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3bedfe315882
Modified Files:
        monetdb5/optimizer/opt_parappend.c
Branch: copybinary
Log Message:

Don't touch the indices (yet)


diffs (17 lines):

diff --git a/monetdb5/optimizer/opt_parappend.c 
b/monetdb5/optimizer/opt_parappend.c
--- a/monetdb5/optimizer/opt_parappend.c
+++ b/monetdb5/optimizer/opt_parappend.c
@@ -97,6 +97,13 @@ transform(parstate *state, Client cntxt,
                return MAL_SUCCEED;
        }
 
+       const char *cname = getVarConstant(mb, cname_var).val.sval;
+       if (cname[0] == '%') {
+               // don't touch indices
+               pushInstruction(mb, old);
+               return MAL_SUCCEED;
+       }
+
 
        int cookie_var = setup_append_prep(state, cntxt, mb, old);
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to