Changeset: 12842642a26e for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=12842642a26e Modified Files: common/options/monet_options.c configure.ag monetdb5/optimizer/opt_groups.c sql/backends/monet5/datacell/Makefile.ag tools/mserver/mserver5.1 Branch: default Log Message:
merged diffs (136 lines): diff --git a/common/options/monet_options.c b/common/options/monet_options.c --- a/common/options/monet_options.c +++ b/common/options/monet_options.c @@ -232,7 +232,7 @@ mo_builtin_settings(opt **Set) if (Set == NULL) return 0; -#define N_OPTIONS 12 /*MUST MATCH # OPTIONS BELOW */ +#define N_OPTIONS 11 /*MUST MATCH # OPTIONS BELOW */ set = malloc(sizeof(opt) * N_OPTIONS); if (set == NULL) return 0; @@ -252,10 +252,6 @@ mo_builtin_settings(opt **Set) set[i].value = strdup("0"); i++; set[i].kind = opt_builtin; - set[i].name = strdup("gdk_alloc_map"); - set[i].value = strdup("no"); - i++; - set[i].kind = opt_builtin; set[i].name = strdup("gdk_vmtrim"); set[i].value = strdup("yes"); i++; diff --git a/configure.ag b/configure.ag --- a/configure.ag +++ b/configure.ag @@ -1110,7 +1110,7 @@ if test "x$have_perl" != xno; then esac else # no Perl implies no interpreter - PERL=`type -P false` + PERL=false fi AC_SUBST(PERL) @@ -1178,7 +1178,7 @@ else have_python_libdir=no PYTHON_LIBDIR="" # and no interpreter - PYTHON=`type -P false` + PYTHON=false fi AC_SUBST(PYTHON) @@ -1246,7 +1246,7 @@ else have_python3_libdir=no PYTHON3_LIBDIR="" # and no interpreter - PYTHON3=`type -P false` + PYTHON3=false fi AC_SUBST(PYTHON3) diff --git a/monetdb5/optimizer/opt_groups.c b/monetdb5/optimizer/opt_groups.c --- a/monetdb5/optimizer/opt_groups.c +++ b/monetdb5/optimizer/opt_groups.c @@ -28,22 +28,16 @@ OPTgroupsImplementation(Client cntxt, Ma InstrPtr q; InstrPtr *old; int limit,slimit; - Lifespan span; (void) cntxt; (void) stk; - span= setLifespan(mb); - if( span == NULL) - return 0; if (varGetProp(mb, getArg(mb->stmt[0], 0), inlineProp) != NULL) { - GDKfree(span); return 0; } /* beware, new variables and instructions are introduced */ pc= (int*) GDKzalloc(sizeof(int)* mb->vtop * 2); /* to find last assignment */ if ( pc == NULL) { - GDKfree(span); return 0; } @@ -51,7 +45,6 @@ OPTgroupsImplementation(Client cntxt, Ma limit= mb->stop; slimit= mb->ssize; if ( newMalBlkStmt(mb,mb->ssize) <0) { - GDKfree(span); GDKfree(pc); return 0; } @@ -96,7 +89,6 @@ OPTgroupsImplementation(Client cntxt, Ma freeInstruction(old[i]); GDKfree(old); GDKfree(pc); - GDKfree(span); DEBUGoptimizers mnstr_printf(cntxt->fdout,"#opt_groups: %d statements glued\n",actions); return actions; diff --git a/sql/backends/monet5/datacell/Makefile.ag b/sql/backends/monet5/datacell/Makefile.ag --- a/sql/backends/monet5/datacell/Makefile.ag +++ b/sql/backends/monet5/datacell/Makefile.ag @@ -51,18 +51,14 @@ lib__datacell = { bin_actuator = { SOURCES = actuator.c dcsocket.c LIBS = ../../../../common/stream/libstream \ - ../../../../common/options/libmoptions \ - ../../../../gdk/libbat \ - ../../../../monetdb5/tools/libmonetdb5 + ../../../../gdk/libbat } bin_sensor = { SOURCES = sensor.c dcsocket.c LIBS = ../../../../common/stream/libstream \ - ../../../../common/options/libmoptions \ - ../../../../gdk/libbat \ - ../../../../monetdb5/tools/libmonetdb5 + ../../../../gdk/libbat } scripts_mal = { diff --git a/tools/mserver/mserver5.1 b/tools/mserver/mserver5.1 --- a/tools/mserver/mserver5.1 +++ b/tools/mserver/mserver5.1 @@ -78,13 +78,6 @@ anonymously. Default: 1<<20 == 1024576 .IP "gdk_vmtrim" Enable or disable the vmtrim thread which tries to unload memory that is not in use. Default: yes -.IP "gdk_alloc_map" -This parameter is mainly for debugging with valgrind. -.\" For 32-bit systems, GDK tries claim 3G of (virtual) memory. -.\" set the alloc map to "no" to run mserver with valgrind; -Also, you need to tell valgrind to use 8-byte alignment, hence: -\(dq\&valgrind --alignment=8 mserver5 --set gdk_alloc_map=no ...\(dq\& -This feature should better be disabled for normal use. Default: no .IP "gdk_debug" You can enable debug output for specific kernel operations. By default debug is switched off for obvious reasons. The value of gdk_debug is an _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list