@@ -6,6 +6,37 @@ DBI::Changes - List of significant changes to the DBI
6
6
7
7
=head1 CHANGES
8
8
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
+
9
40
=head2 Changes in DBI 1.40, 7th January 2004
10
41
11
42
Fixed handling of CachedKids when DESTROYing threaded handles.
0 commit comments