Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18577/sql/src/backends/monet5

Modified Files:
        prog.c 
Log Message:

make sure we (try to) read config files only after we have seen the commandline 
options


Index: prog.c
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/prog.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- prog.c      27 Apr 2007 09:45:50 -0000      1.6
+++ prog.c      7 Sep 2007 21:59:10 -0000       1.7
@@ -100,7 +100,6 @@
        /* needed, to prevent the MonetDB config file to be used */  
        setlen = mo_add_option(&set, setlen, opt_config, "prefix", 
MONETDBPREFIX);
        setlen = mo_add_option(&set, setlen, opt_config, "config", 
MONETDBCONFIG);
-       setlen = mo_system_config(&set, setlen);
 
        for (;;) {
                int option_index = 0;
@@ -154,6 +153,8 @@
                }
        }
 
+       setlen = mo_system_config(&set, setlen);
+
        mid = embedded_sql(set, setlen);
 
        /* now for each file given on the command line (or stdin) 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to