Changeset: e08411d51bb3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e08411d51bb3
Modified Files:
        tools/merovingian/client/monetdb.1.in
        tools/merovingian/client/monetdb.c
Branch: default
Log Message:

monetdb: use 50000 as default port iso 50001

Since the control_port is now no longer there, it makes no longer sense
to try and connect to port 50001


diffs (33 lines):

diff --git a/tools/merovingian/client/monetdb.1.in 
b/tools/merovingian/client/monetdb.1.in
--- a/tools/merovingian/client/monetdb.1.in
+++ b/tools/merovingian/client/monetdb.1.in
@@ -30,7 +30,7 @@ to connect to a remote
 .BR monetdbd (1).
 The use of this option requires \-P (see below).
 .IP "\-p port"
-Connects to the given portnumber instead of the default (50001).
+Connects to the given portnumber instead of the default (50000).
 Requires \-h to be given as option too.
 .IP "\-P passphrase"
 Specifies the passphrase necessary to login to a remote
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
@@ -1479,7 +1479,7 @@ main(int argc, char *argv[])
                do {
                        /* first try the port given (or else its default) */
                        snprintf(buf, sizeof(buf), "%s/.s.merovingian.%d",
-                                       mero_host, mero_port == -1 ? 50001 : 
mero_port);
+                                       mero_host, mero_port == -1 ? 50000 : 
mero_port);
                        if (control_ping(buf, -1, NULL) == 0) {
                                mero_host = buf;
                                break;
@@ -1523,7 +1523,7 @@ main(int argc, char *argv[])
        }
        /* for TCP connections */
        if (mero_host != NULL && *mero_host != '/' && mero_port == -1)
-               mero_port = 50001;
+               mero_port = 50000;
 
        /* handle regular commands */
        if (strcmp(argv[i], "create") == 0) {
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to