Update of /cvsroot/monetdb/sql
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17871

Modified Files:
      Tag: SQL_2-24
        RunMserver.bat.in 
Log Message:
Cleanup.
M5 is default if present, else M4 is default.

U RunMserver.bat.in
Index: RunMserver.bat.in
===================================================================
RCS file: /cvsroot/monetdb/sql/RunMserver.bat.in,v
retrieving revision 1.8
retrieving revision 1.8.4.1
diff -u -d -r1.8 -r1.8.4.1
--- RunMserver.bat.in   8 Oct 2007 09:37:55 -0000       1.8
+++ RunMserver.bat.in   23 Jun 2008 15:47:15 -0000      1.8.4.1
@@ -2,8 +2,11 @@
 
 setlocal
 
-rem default back end is MonetDB4
-set V=4
+rem if both M4 & M5 are available, M5 is default;
+rem otherwise, the available one is default
+if "@HAVE_MONETDB4_FALSE@" == "#" set V=4
+if "@HAVE_MONETDB5_FALSE@" == "#" set V=5
+rem commandline option overrules default
 if "%1" == "-4" set V=4& shift
 if "%1" == "-5" set V=5& shift
 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to