Skip to content

Commit d9d0e6d

Browse files
committed
Updating source to current work-in-progress and adding some non-source files
git-svn-id: https://svn.perl.org/modules/dbi/trunk@48 50811bd7-b8ce-0310-adc1-d9db26280581
1 parent 89fe486 commit d9d0e6d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+8454
-355
lines changed

Changes

+31
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,37 @@ DBI::Changes - List of significant changes to the DBI
66

77
=head1 CHANGES
88

9+
set_err -> set_state?
10+
Add clear_state / clear_err
11+
Document smarts in set_err
12+
Drivers to change how they get debug level (with masked bits).
13+
14+
Fixed execute_for_array() so tuple_status parameter is optional
15+
as per docs, thanks to Ed Avis.
16+
Fixed execute_for_array() docs to say that it returns undef if
17+
any of the execute() calls fail.
18+
Fixed take_imp_data() test on m68k reported by Christian Hammers.
19+
Fixed write_typeinfo_pm inconsistencies in DBI::DBD::Metadata
20+
thanks to Andy Hassall.
21+
22+
Changed set_err() to append to errstr, with a leading "\n" if it's
23+
not empty, so that multiple error/warning messages are recorded.
24+
Changed trace to limit elements dumped when an array reference is
25+
returned from a method to the max(40, $DBI::neat_maxlen/10)
26+
so that fetchall_arrayref(), for example, doesn't flood the trace.
27+
28+
Added way for drivers to indicate 'success with info' or 'warning'
29+
by setting err to "0" for warning and "" for information.
30+
Both values are false and so don't trigger RaiseError etc.
31+
Warnings (err="0") are automatically printed if PrintError is set.
32+
Thanks to Steffen Goeldner for the original idea.
33+
Added $h->{HandleSetError} = sub { ... } to be called at the
34+
point that an error, warn, or info state is recorded.
35+
The code can alter the err, errstr, and state values
36+
(e.g., to promote an error to a warning, or the reverse).
37+
Added details of DBI::Const::GetInfoType module to get_info() docs.
38+
Added ref count of inner handle to "DESTROY ignored for outer" msg.
39+
940
=head2 Changes in DBI 1.40, 7th January 2004
1041

1142
Fixed handling of CachedKids when DESTROYing threaded handles.

DBI.pm

+170-54
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)