Changeset: b4a8ef1f8f21 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b4a8ef1f8f21
Modified Files:
        monetdb5/modules/mal/mal_weld.c
Branch: mal-weld
Log Message:

weld.thread conf should be in weld_module_run


diffs (19 lines):

diff --git a/monetdb5/modules/mal/mal_weld.c b/monetdb5/modules/mal/mal_weld.c
--- a/monetdb5/modules/mal/mal_weld.c
+++ b/monetdb5/modules/mal/mal_weld.c
@@ -253,7 +253,6 @@ WeldRun(Client cntxt, MalBlkPtr mb, MalS
        weld_conf_set(conf, "weld.memory.limit", memLimit);
        long start = getTimeNowMs();
        weld_module_t m = weld_module_compile(wstate->program, conf, e);
-       weld_conf_free(conf);
        if (weld_error_code(e)) {
                throw(MAL, "weld.run", PROGRAM_GENERAL ": %s", 
weld_error_message(e));
        }
@@ -314,7 +313,6 @@ WeldRun(Client cntxt, MalBlkPtr mb, MalS
        getOrSetStructMember(&inputPtr, TYPE_dbl, &dbl_nil, OP_SET);
 
        weld_value_t arg = weld_value_new(inputStruct);
-       conf = weld_conf_new();
        weld_value_t result = weld_module_run(m, conf, arg, e);
 
        /* Retrieve the output */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to