Update of /cvsroot/monetdb/sql/src/backends/monet5/merovingian
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv25220
Modified Files:
monetdb.c monetdb_status.c
Log Message:
Reuse is good
U monetdb_status.c
Index: monetdb_status.c
===================================================================
RCS file:
/cvsroot/monetdb/sql/src/backends/monet5/merovingian/monetdb_status.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- monetdb_status.c 15 Sep 2009 12:01:45 -0000 1.3
+++ monetdb_status.c 15 Sep 2009 12:03:17 -0000 1.4
@@ -289,10 +289,8 @@
char *buf;
char *p;
sabdb *w;
- char path[8096];
- snprintf(path, sizeof(path), "%s/.merovingian_control", dbfarm);
- e = control_send(&buf, path, -1, "flyghende", "hollander");
+ e = control_send(&buf, mero_control, -1, "flyghende",
"hollander");
if (e != NULL) {
fprintf(stderr, "status: internal error: %s\n", e);
free(e);
U monetdb.c
Index: monetdb.c
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/merovingian/monetdb.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- monetdb.c 14 Sep 2009 19:24:04 -0000 1.49
+++ monetdb.c 15 Sep 2009 12:03:17 -0000 1.50
@@ -213,13 +213,11 @@
match = argv[1];
}
- snprintf(path, sizeof(path), "%s/.merovingian_control", dbfarm);
-
/* Send the pass phrase to unlock the information available in
* merovingian. Anelosimus eximius is a social species of spiders,
* which help each other, just like merovingians do among each
* other. */
- p = control_send(&buf, path, -1, "anelosimus", "eximius");
+ p = control_send(&buf, mero_control, -1, "anelosimus", "eximius");
if (p != NULL) {
printf("FAILED:\n%s\n", p);
free(p);
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins