Changeset: 2b8e844a0608 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/2b8e844a0608
Modified Files:
        clients/odbc/winsetup/install.c
Branch: odbc-tls
Log Message:

During install, make sure the default created Sytem DSN has set the mandatory 
attrs: AutoCommit and TLS to the correct default values.


diffs (23 lines):

diff --git a/clients/odbc/winsetup/install.c b/clients/odbc/winsetup/install.c
--- a/clients/odbc/winsetup/install.c
+++ b/clients/odbc/winsetup/install.c
@@ -166,7 +166,7 @@ static void
 CreateAttributeString(char *attrs, size_t len, const char *dsn)
 {
        snprintf(attrs, len,
-                        
"DSN=%s;Server=localhost;Database=;UID=monetdb;PWD=monetdb;Logfile=;",
+                        
"DSN=%s;Server=localhost;Database=;UID=monetdb;PWD=monetdb;AutoCommit=on;TLS=off;",
                         dsn);
 
        for (; *attrs; attrs++)
@@ -230,9 +230,8 @@ Install(const char *driverpath, const ch
        }
 
        rc = InstallMyDriver(driverpath, drivername);
-
        if (rc) {
-               /* after the driver is installed create the new DSN */
+               /* after the driver is installed create the new System DSN */
                rc = AddMyDSN(dsn, drivername);
        }
 
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to