Changeset: 1ec8e3c3c4a9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1ec8e3c3c4a9
Modified Files:
        clients/mapilib/connect.c
Branch: monetdburl
Log Message:

Bug: forgot to validate first


diffs (14 lines):

diff --git a/clients/mapilib/connect.c b/clients/mapilib/connect.c
--- a/clients/mapilib/connect.c
+++ b/clients/mapilib/connect.c
@@ -36,6 +36,10 @@ static MapiMsg mapi_handshake(Mapi mid);
 MapiMsg
 mapi_reconnectx(Mapi mid)
 {
+       msettings_error err = msettings_validate(mid->settings);
+       if (err)
+               return mapi_setError(mid, err, __func__, MERROR);
+
        // If neither host nor port are given, scan the Unix domain sockets in
        // /tmp and see if any of them serve this database.
        // Otherwise, just try to connect to what was given.
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to