Skip to content

Commit

Permalink
Updating source to current work-in-progress and adding some non-sourc…
Browse files Browse the repository at this point in the history
…e files

git-svn-id: https://svn.perl.org/modules/dbi/trunk@48 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information
timbunce committed Feb 1, 2004
1 parent 89fe486 commit d9d0e6d
Show file tree
Hide file tree
Showing 60 changed files with 8,454 additions and 355 deletions.
31 changes: 31 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,37 @@ DBI::Changes - List of significant changes to the DBI

=head1 CHANGES

set_err -> set_state?
Add clear_state / clear_err
Document smarts in set_err
Drivers to change how they get debug level (with masked bits).

Fixed execute_for_array() so tuple_status parameter is optional
as per docs, thanks to Ed Avis.
Fixed execute_for_array() docs to say that it returns undef if
any of the execute() calls fail.
Fixed take_imp_data() test on m68k reported by Christian Hammers.
Fixed write_typeinfo_pm inconsistencies in DBI::DBD::Metadata
thanks to Andy Hassall.

Changed set_err() to append to errstr, with a leading "\n" if it's
not empty, so that multiple error/warning messages are recorded.
Changed trace to limit elements dumped when an array reference is
returned from a method to the max(40, $DBI::neat_maxlen/10)
so that fetchall_arrayref(), for example, doesn't flood the trace.

Added way for drivers to indicate 'success with info' or 'warning'
by setting err to "0" for warning and "" for information.
Both values are false and so don't trigger RaiseError etc.
Warnings (err="0") are automatically printed if PrintError is set.
Thanks to Steffen Goeldner for the original idea.
Added $h->{HandleSetError} = sub { ... } to be called at the
point that an error, warn, or info state is recorded.
The code can alter the err, errstr, and state values
(e.g., to promote an error to a warning, or the reverse).
Added details of DBI::Const::GetInfoType module to get_info() docs.
Added ref count of inner handle to "DESTROY ignored for outer" msg.

=head2 Changes in DBI 1.40, 7th January 2004

Fixed handling of CachedKids when DESTROYing threaded handles.
Expand Down
224 changes: 170 additions & 54 deletions DBI.pm

Large diffs are not rendered by default.

Loading

0 comments on commit d9d0e6d

Please sign in to comment.