diff options
author | ivan <ivan> | 2010-08-24 18:57:11 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-08-24 18:57:11 +0000 |
commit | 03eaa0e229c5f5fc68a178d20fb69733db709787 (patch) | |
tree | e00f85b21c4c9fb6e3e82d747351f4a0b5e1e26b /FS/FS/part_export/sqlradius.pm | |
parent | 51add281a0ca46ffa75bfa5e2aa45c0da9bb9643 (diff) |
add debugging and ->finish() before ->disconnect call
Diffstat (limited to 'FS/FS/part_export/sqlradius.pm')
-rw-r--r-- | FS/FS/part_export/sqlradius.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/FS/FS/part_export/sqlradius.pm b/FS/FS/part_export/sqlradius.pm index d8c5e04..f1ba3d2 100644 --- a/FS/FS/part_export/sqlradius.pm +++ b/FS/FS/part_export/sqlradius.pm @@ -408,6 +408,14 @@ sub sqlradius_usergroup_insert { #subroutine, not method $sth->execute( $username, $group ) or die "can't insert into groupname table: ". $sth->errstr; } + if ( $s_sth->{Active} ) { + warn "sqlradius s_sth still active; calling ->finish()"; + $s_sth->finish; + } + if ( $sth->{Active} ) { + warn "sqlradius sth still active; calling ->finish()"; + $sth->finish; + } $dbh->disconnect; } |