Check-in [2c3b20efff]
Not logged in
Overview

SHA1 Hash:2c3b20efffa2058a5811118c53c191003277cd49
Date: 2008-10-24 14:05:03
User: drh
Comment:Make the "settings" command work with the -R option. Fix for ticket 5162d999af.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/db.c from [398830aef3] to [5a3c0d4818].

@@ -1280,13 +1280,13 @@
   int i;
   int globalFlag = find_option("global","g",0)!=0;
   int unsetFlag = g.argv[1][0]=='u';
   db_find_and_open_repository(0);
   if( !g.repositoryOpen ){
-    db_open_config();
     globalFlag = 1;
   }
+  db_open_config();
   if( unsetFlag && g.argc!=3 ){
     usage("PROPERTY ?-global?");
   }
   if( g.argc==2 ){
     for(i=0; i<sizeof(azName)/sizeof(azName[0]); i++){