Update of /cvsroot/monetdb/sql/src/backends/monet5/merovingian
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21406
Modified Files:
monetdb.c
Log Message:
fix crash when renaming a database and merovingian not running (monetdb.c:273:
variable stats is used before its value is set)
U monetdb.c
Index: monetdb.c
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/merovingian/monetdb.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- monetdb.c 11 Sep 2009 06:00:16 -0000 1.45
+++ monetdb.c 11 Sep 2009 06:02:43 -0000 1.46
@@ -424,7 +424,7 @@
}
if (mero_running == 0) {
- if ((e = db_rename(stats->dbname, value)) != NULL) {
+ if ((e = db_rename(argv[2], value)) != NULL) {
fprintf(stderr, "set: %s\n", e);
free(e);
exit(1);
------------------------------------------------------------------------------
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