Author: timbo
Date: Thu May 25 08:02:41 2006
New Revision: 6338
Modified:
dbi/trunk/Changes
dbi/trunk/DBI.pm
Log:
Minor tweaks. Starting to prepare for release.
Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes (original)
+++ dbi/trunk/Changes Thu May 25 08:02:41 2006
@@ -4,7 +4,7 @@
=cut
-=head2 Changes in DBI 1.51 (svn rev XXX), XXX
+=head2 Changes in DBI 1.51 (svn rev 6338), 24 May 2006
Fixed $dbh->clone method 'signature' thanks to Jeffrey Klein.
Fixed default ping() method to return false if !$dbh->{Active}.
@@ -23,7 +23,7 @@
Drivers can now use PERL_NO_GET_CONTEXT thanks to Gisle Aas.
Driver authors please read the notes in the DBI::DBD docs.
Changed DBI::Profile format to always include a percentage,
- if not exiting then is time between the first and last DBI call.
+ if not exiting then uses time between the first and last DBI call.
Changed DBI::ProfileData to be more forgiving of systems with
unstable clocks (where time may go backwards occasionally).
Clarified the 'Subclassing the DBI' docs.
Modified: dbi/trunk/DBI.pm
==============================================================================
--- dbi/trunk/DBI.pm (original)
+++ dbi/trunk/DBI.pm Thu May 25 08:02:41 2006
@@ -5402,6 +5402,9 @@
rows that will be returned by the query (because most databases can't
tell in advance), it simply returns a true value.
+You can tell if the statement was a C<SELECT> statement by checking if
+C<$sth-E<gt>{NUM_OF_FIELDS}> is greater than zero after calling C<execute>.
+
If any arguments are given, then C<execute> will effectively call
L</bind_param> for each value before executing the statement. Values
bound in this way are usually treated as C<SQL_VARCHAR> types unless