-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:
parent
a2da51211c
commit
e4bd50f5e6
@ -335,6 +335,7 @@ sub xfork
|
||||
#my %drivers = DBI->installed_drivers;
|
||||
foreach (values %{$::XCAT_DBHS})
|
||||
{ #@{$drh->{ChildHandles}}) {
|
||||
if ($_) { $_->disconnect(); }
|
||||
$_->{InactiveDestroy} = 1;
|
||||
undef $_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user