Changeset: f232d8502034 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f232d8502034 Modified Files: tools/merovingian/client/monetdb.c tools/merovingian/utils/properties.h Branch: default Log Message:
Make the property name easy to change diffs (23 lines): diff --git a/tools/merovingian/client/monetdb.c b/tools/merovingian/client/monetdb.c --- a/tools/merovingian/client/monetdb.c +++ b/tools/merovingian/client/monetdb.c @@ -105,7 +105,7 @@ command_help(int argc, char *argv[]) } else if (strcmp(argv[1], "profilerstart") == 0) { printf("Usage: monetdb profilerstart database [database ...]\n"); printf(" Starts the collection of profiling events. The property\n"); - printf(" \"profiler_path\" should be set. Use the \"profilerstop\"\n"); + printf(" \""PROFILERLOGPROPERTY"\" should be set. Use the \"profilerstop\"\n"); printf(" command to stop the profiler.\n"); } else if (strcmp(argv[1], "profilerstop") == 0) { printf("Usage: monetdb profilerstop database [database ...]\n"); diff --git a/tools/merovingian/utils/properties.h b/tools/merovingian/utils/properties.h --- a/tools/merovingian/utils/properties.h +++ b/tools/merovingian/utils/properties.h @@ -12,6 +12,7 @@ #include "utils.h" #define MEROPROPFILE ".merovingian_properties" +#define PROFILERLOGPROPERTY "profilerlogpath" confkeyval *getDefaultProps(void); int writeProps(confkeyval *ckv, const char *path); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list