diff options
author | ivan <ivan> | 2002-05-29 20:45:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-05-29 20:45:04 +0000 |
commit | 4aaa65f643469cf2df1d97f5e12e05d0122d9570 (patch) | |
tree | 46017543c402ff231cc69ec9c147d47810b3d16f | |
parent | 23c7d48df691c406aecb84776437698447405518 (diff) |
eliminate harmless "Database handle destroyed without explicit disconnect"
errors
-rwxr-xr-x | FS/bin/freeside-sqlradius-reset | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/bin/freeside-sqlradius-reset b/FS/bin/freeside-sqlradius-reset index 132be754a..41f3358f6 100755 --- a/FS/bin/freeside-sqlradius-reset +++ b/FS/bin/freeside-sqlradius-reset @@ -22,6 +22,7 @@ foreach my $export ( @exports ) { my $sth = $icradius_dbh->prepare("DELETE FROM $table"); $sth->execute or die "Can't reset $table table: ". $sth->errstr; } + $icradius_dbh->disconnect; } foreach my $export ( @exports ) { |