Changeset: 0f2ff32819ca for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0f2ff32819ca
Modified Files:
        clients/mapilib/msettings.c
        clients/mapilib/msettings.h
Branch: odbc-tls
Log Message:

Add MP_LOGFILE setting


diffs (42 lines):

diff --git a/clients/mapilib/msettings.c b/clients/mapilib/msettings.c
--- a/clients/mapilib/msettings.c
+++ b/clients/mapilib/msettings.c
@@ -102,9 +102,10 @@ by_name[] = {
        { .name="tls", .parm=MP_TLS },
        { .name="user", .parm=MP_USER },
        //
+       { .name="logfile", .parm=MP_LOGFILE },
+       //
        { .name="hash", .parm=MP_IGNORE },
        { .name="debug", .parm=MP_IGNORE },
-       { .name="logfile", .parm=MP_IGNORE },
 };
 
 mparm
@@ -141,6 +142,7 @@ mparm_name(mparm parm)
                case MP_DATABASE: return "database";
                case MP_HOST: return "host";
                case MP_LANGUAGE: return "language";
+               case MP_LOGFILE: return "logfile";
                case MP_PASSWORD: return "password";
                case MP_PORT: return "port";
                case MP_REPLYSIZE: return "replysize";
@@ -208,6 +210,7 @@ struct msettings {
        struct string language;
        struct string schema;
        struct string binary;
+       struct string logfile;
        struct string dummy_end_string;
 
        char **unknown_parameters;
diff --git a/clients/mapilib/msettings.h b/clients/mapilib/msettings.h
--- a/clients/mapilib/msettings.h
+++ b/clients/mapilib/msettings.h
@@ -69,6 +69,7 @@ typedef enum mparm {
         MP_LANGUAGE,
         MP_SCHEMA,             // TODO implement this
         MP_BINARY,
+       MP_LOGFILE,
 } mparm;
 
 typedef enum mparm_class {
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to