Skip to content

Commit 1682ad6

Browse files
committed
Fixed DBD::PurePerl to not set $sth->{Active} true by default.
1 parent cf54ba6 commit 1682ad6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Changes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ DBI::Changes - List of significant changes to the DBI
66

77
=cut
88

9+
=head2 Changes in DBI 1.632
10+
11+
Fixed DBD::PurePerl to not set $sth->{Active} true by default
12+
drivers are expected to set it true as needed.
13+
14+
915
=head2 Changes in DBI 1.631 - 20th Jan 2014
1016

1117
NOTE: This release changes the handle passed to Callbacks from being an 'inner'

lib/DBI/PurePerl.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ sub _setup_handle {
540540
$h_inner->{"dbi_pp_call_depth"} = 0;
541541
$h_inner->{"dbi_pp_pid"} = $$;
542542
$h_inner->{ErrCount} = 0;
543-
$h_inner->{Active} = 1;
543+
$h_inner->{Active} = 0; # driver should set true when there's data to fetch
544544
}
545545

546546
sub constant {

0 commit comments

Comments
 (0)