in reply to Re: DBI ERROR
in thread DBI ERROR
I am checking if there is any open cursor. Hope it helps. DBI Version is 1.06 and perl version is 5.0.3my ($self, @cursors) = @_; my $cursor; foreach $cursor (@cursors) { if (exists($self->{CURSORS}{$cursor})) { # eval { my $ref = $self->{CURSORS}{$cursor}; delete($self->{CURSORS}{$cursor}); $ref->finish; } } } } if ($self->{CONNECTION} && !$self->{CONNECTION}->{InactiveDestro +y}) { $self->{CONNECTION}->disconnect;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: DBI ERROR
by chromatic (Archbishop) on Apr 14, 2001 at 08:50 UTC |