Update of /cvsroot/monetdb/MonetDB5/src/tools
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21948
Modified Files:
merovingian.mx
Log Message:
Move a comment into the right place.
Index: merovingian.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/tools/merovingian.mx,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- merovingian.mx 24 Aug 2007 10:40:44 -0000 1.29
+++ merovingian.mx 28 Aug 2007 11:29:20 -0000 1.30
@@ -705,7 +705,7 @@
stat = top;
}
- /* need to send a redirect */
+ /* if we can't redirect, our mission ends here */
if (stat->conns == NULL || stat->conns->val == NULL) {
err e = newErr("database '%s' does not allow connections",
stat->dbname);
stream_printf(fout, "!database '%s' does not allow
connections\n", stat->dbname);
@@ -719,6 +719,7 @@
merlog("redirecting client for database '%s' to %s",
stat->dbname, stat->conns->val);
+ /* need to send a redirect */
stream_printf(fout, "^%s%s\n",
stat->conns->val, stat->dbname);
/* flush redirect and return */
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins