Changeset: 21cb77709f14 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=21cb77709f14
Modified Files:
        tools/merovingian/client/monetdb.c
Branch: Apr2011
Log Message:

monetdb: fix -p usage for unix sockets

ensure that mero_port gets set to -1, such that control_send actually
attempts to make unix socket connection


diffs (12 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
@@ -1506,6 +1506,8 @@
                        fprintf(stderr, "monetdb: cannot find a control socket, 
use -h and/or -p\n");
                        exit(1);
                }
+               /* don't confuse control_send lateron */
+               mero_port = -1;
        }
        /* for TCP connections */
        if (mero_host != NULL && *mero_host != '/' && mero_port == -1)
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to