Changeset: 0a4a010b49d3 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0a4a010b49d3
Modified Files:
        monetdb5/optimizer/opt_remap.c
Branch: default
Log Message:

Dont use asserts where you should not need them


diffs (11 lines):

diff --git a/monetdb5/optimizer/opt_remap.c b/monetdb5/optimizer/opt_remap.c
--- a/monetdb5/optimizer/opt_remap.c
+++ b/monetdb5/optimizer/opt_remap.c
@@ -358,7 +358,6 @@ OPTremapSwitched(Client cntxt, MalBlkPtr
 
                /* always restore the allocated function name */
                getVarConstant(mb, getArg(pci, 2)).val.sval= fcn;
-               assert(strlen(fcn) <= INT_MAX);
                getVarConstant(mb, getArg(pci, 2)).len = strlen(fcn);
 
                if (r) return 1;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to