Changeset: 24132d3b2ff1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=24132d3b2ff1
Modified Files:
MonetDB5/src/mal/mal_session.mx
Branch: Oct2010
Log Message:
tell the client when we're going to abort the login process
diffs (29 lines):
diff -r 7553bc8afd40 -r 24132d3b2ff1 MonetDB5/src/mal/mal_session.mx
--- a/MonetDB5/src/mal/mal_session.mx Wed Oct 06 10:59:53 2010 +0200
+++ b/MonetDB5/src/mal/mal_session.mx Wed Oct 06 11:15:27 2010 +0200
@@ -327,19 +327,23 @@
/* find and reactivate client */
c = MCfindClient(uid, lang, fin, fout);
if (c != NULL) {
+ mnstr_printf(fout, "!internal server error
(findClient), "
+ "please try again later\n");
+ mnstr_flush(fout);
GDKfree(command);
return;
}
c = MCinitClient(uid, fin, fout);
if (c == NULL) {
- mnstr_printf(fout, "!Out of client slots\n");
+ mnstr_printf(fout, "!internal server error (out of
client slots), "
+ "please try again later\n");
mnstr_flush(fout);
GDKfree(command);
return;
}
/* move this back !! */
- if ( c->nspace == 0) {
+ if (c->nspace == 0) {
c->nspace = newModule(NULL, putName("user", 4));
c->nspace->outer = mal_clients[0].nspace->outer;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list