Update of /cvsroot/monetdb/sql/src/backends/monet5/merovingian
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4998

Modified Files:
        merovingian.c merovingian_controlrunner.c 
Log Message:
hey look, it's dead simple to let merovingian create and destroy databases now 
:)

U merovingian_controlrunner.c
Index: merovingian_controlrunner.c
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/backends/monet5/merovingian/merovingian_controlrunner.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- merovingian_controlrunner.c 19 Aug 2009 13:53:05 -0000      1.1
+++ merovingian_controlrunner.c 20 Aug 2009 16:13:51 -0000      1.2
@@ -164,6 +164,10 @@
                                                send(msgsock, buf2, len, 0);
                                        }
                                        pthread_mutex_unlock(&_mero_topdp_lock);
+                               } else if (strcmp(p, "create") == 0) {
+                                       db_create(q);
+                               } else if (strcmp(p, "destroy") == 0) {
+                                       db_destroy(q);
                                } else if (strncmp(p, "share=", 
strlen("share=")) == 0) {
                                        sabdb *stats;
                                        sabdb *topdb;

U merovingian.c
Index: merovingian.c
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/merovingian/merovingian.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- merovingian.c       19 Aug 2009 13:53:05 -0000      1.54
+++ merovingian.c       20 Aug 2009 16:13:50 -0000      1.55
@@ -55,6 +55,7 @@
 #include "utils.h"
 #include "properties.h"
 #include "glob.h"
+#include "database.h"
 #include <stdlib.h> /* exit, getenv, rand, srand */
 #include <stdarg.h>    /* variadic stuff */
 #include <stdio.h> /* fprintf */


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to