Changeset: be997ba28e69 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=be997ba28e69 Modified Files: Branch: default Log Message:
Merged from Jun2010 diffs (18 lines): diff -r 01d9cdfed78a -r be997ba28e69 clients/src/mapilib/Mapi.mx --- a/clients/src/mapilib/Mapi.mx Wed May 19 15:11:43 2010 +0200 +++ b/clients/src/mapilib/Mapi.mx Wed May 19 15:11:53 2010 +0200 @@ -2170,8 +2170,13 @@ free(mid->hostname); mid->hostname = host ? strdup(host) : NULL; - if (port == 0) + if (port == 0) { port = 50000; /* hardwired default */ + } else { + /* make sure we won't search for a unix socket first */ + if (mid->hostname == NULL) + mid->hostname = strdup("localhost"); + } /* fill some defaults for user/pass, this should actually never happen */ if (username == NULL) _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list