mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	-Fix problem where xfork did not successfully relinquish open db handles (with this change, fuser on a sqlite file, for instance, looks much more correct)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -335,6 +335,7 @@ sub xfork
 | 
			
		||||
        #my %drivers = DBI->installed_drivers;
 | 
			
		||||
        foreach (values %{$::XCAT_DBHS})
 | 
			
		||||
        {    #@{$drh->{ChildHandles}}) {
 | 
			
		||||
            if ($_) { $_->disconnect(); }
 | 
			
		||||
            $_->{InactiveDestroy} = 1;
 | 
			
		||||
            undef $_;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user