Author: timbo Date: Tue Dec 14 08:11:32 2004 New Revision: 624 Modified: dbi/trunk/Changes dbi/trunk/lib/DBI/DBD.pm Log: Updated err/errstr/state docs for DBD authors thanks to Steffen Goeldner.
Modified: dbi/trunk/Changes ============================================================================== --- dbi/trunk/Changes (original) +++ dbi/trunk/Changes Tue Dec 14 08:11:32 2004 @@ -24,6 +24,7 @@ Updated docs to recommend some common DSN string attributes. Updated docs for NULL Value placeholders thanks to Brian Campbell. Updated docs for primary_key_info and primary_keys. + Updated err/errstr/state docs for DBD authors thanks to Steffen Goeldner. Corrected and updated LongReadLen docs thanks to Bart Lateur. =head2 Changes in DBI 1.46 (svn rev 584), 16th November 2004 Modified: dbi/trunk/lib/DBI/DBD.pm ============================================================================== --- dbi/trunk/lib/DBI/DBD.pm (original) +++ dbi/trunk/lib/DBI/DBD.pm Tue Dec 14 08:11:32 2004 @@ -569,20 +569,7 @@ package DBD::File; use strict; - use vars qw($err $errstr $state $drh); - - $err = 0; # holds error code for DBI::err - $errstr = ""; # holds error string for DBI::errstr - $sqlstate = "S1000"; # holds SQL state for DBI::state - -These variables are used for storing error states and messages. -Note that most pure Perl drivers do not support the SQL standard error -indicator SQLSTATE, and for such drivers, the value "S1000" is -appropriate. -If your database does support SQLSTATE, then initialize $sqlstate to an -empty string. -However, it is crucial to understand that you must not modify them -directly; see below. + use vars qw($VERSION $drh); $VERSION = "1.23.00" # Version number of DBD::File
