Open the database after removing immutable bits
This commit is contained in:
		
							parent
							
								
									3007f57377
								
							
						
					
					
						commit
						b424d29d1b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -297,7 +297,7 @@ LocalStore::LocalStore(bool reserveSpace)
 | 
			
		|||
        curSchema = getSchema();
 | 
			
		||||
 | 
			
		||||
        if (curSchema < 6) upgradeStore6();
 | 
			
		||||
        else if (curSchema < 7) upgradeStore7();
 | 
			
		||||
        else if (curSchema < 7) { upgradeStore7(); openDB(true); }
 | 
			
		||||
 | 
			
		||||
        writeFile(schemaPath, (format("%1%") % nixSchemaVersion).str());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue