Update of /cvsroot/monetdb/MonetDB5/src/tools
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22182

Modified Files:
        monetdb.mx 
Log Message:
Make monetdb report databases running in maintenance mode as such.


Index: monetdb.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/tools/monetdb.mx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- monetdb.mx  24 Aug 2007 14:00:57 -0000      1.11
+++ monetdb.mx  28 Aug 2007 13:44:51 -0000      1.12
@@ -179,6 +179,9 @@
                        case SABdbInactive:
                                state = "stopped";
                        break;
+                       case SABdbMaintenance:
+                               state = "mainten";
+                       break;
                        default:
                                state = "unknown";
                        break;
@@ -218,6 +221,9 @@
                        case SABdbInactive:
                                state = "stopped";
                        break;
+                       case SABdbMaintenance:
+                               state = "maintenance";
+                       break;
                        default:
                                state = "unknown";
                        break;
@@ -300,6 +306,9 @@
                        case SABdbInactive:
                                snprintf(buf, 64, "not running");
                        break;
+                       case SABdbMaintenance:
+                               snprintf(buf, 64, "under maintenance");
+                       break;
                        default:
                                snprintf(buf, 64, "unknown");
                        break;


-------------------------------------------------------------------------
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

Reply via email to