Changeset: d3c498d5e7cd for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d3c498d5e7cd
Modified Files:
Branch: Jun2010
Log Message:
Merged heads.
diffs (18 lines):
diff -r c6886fcc3f78 -r d3c498d5e7cd clients/src/mapilib/Mapi.mx
--- a/clients/src/mapilib/Mapi.mx Wed May 19 16:03:45 2010 +0200
+++ b/clients/src/mapilib/Mapi.mx Wed May 19 16:07:32 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
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list