summaryrefslogtreecommitdiff
path: root/databases/p5-DBI
AgeCommit message (Collapse)AuthorFilesLines
2001-08-10Update to 1.19mjl2-5/+5
Made fetchall_arrayref({ foo=>1, ...}) be more strict to the specification in relation to wanting hash slice keys to be lowercase names. Fixed $sth->execute() to update $dbh->{Statement} to $sth->{Statement}. Added row number to trace output for fetch method calls. Added $h->{FetchHashKeyName} = 'NAME_lc' or 'NAME_uc' to alter behaviour of fetchrow_hashref() method. See docs. Added type_info quote caching to quote() method Makes using quote() with second data type param much much faster. Added type_into_all() caching to type_info() Added new API definition for table_info() and tables(), Added primary_key_info() to DBI API Added primary_key() to DBI API as simpler interface to primary_key_info(). Indent and other fixes for DBI::DBD doc Added prepare_cached() insert_hash() example Removed false docs for fetchall_hashref(), use fetchall_arrayref({}).
2001-06-10Updated to 1.18mjl2-5/+5
Fixed that altering ShowErrorStatement also altered AutoCommit! Fixed DBD::Proxy to handle commit() and rollback(). Long overdue, sorry. Fixed incompatibility with perl 5.004 (but no one's using that right? :) Fixed connect_cached and prepare_cached to not be affected by the order of elements in the attribute hash. Fixed version number of DBI::Shell Defined and documented table_info() attribute semantics (ODBC compatible)
2001-06-02Updated to 1.16.mjl2-5/+5
Reimplemented fetchrow_hashref in C, now fetches about 25% faster! Changed behaviour if both PrintError and RaiseError are enabled to simply do both (in that order, obviously :) Slight reduction in DBI handle creation overhead Fixed $dbh->{Driver} & $sth->{Database} to return 'outer' handles. Fixed execute param count check to honour RaiseError Fixed build for perl5.6.1 with PERLIO Fixed client sql restrictions in ProxyServer.pm Fixed batch mode command parsing in Shell Fixed typo in selectcol_arrayref docs Fixed selectrow_hashref to be available to callers Fixed core dump if statement handle didn't define Statement attribute Added bind_param_inout docs to DBI::DBD Added note to data_sources() method docs that some drivers may require a connected database handle to be supplied as an attribute Trace of install_driver method now shows path of driver file loaded Changed many '||' to 'or' in the docs Updated DBD::ADO again (improvements in error handling) Updated Win32::DBIODBC (Win32::ODBC emulation) Updated email and web addresses in DBI::FAQ
2001-04-18Move to sha1 digests, and add distfile sizes.agc1-1/+2
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc1-1/+1
+ move the patch digest/checksum values from files/patch-sum to distinfo + include distfile filesizes in distinfo
2001-04-13Update to 1.15. Notable changes:mjl2-4/+4
Added selectrow_arrayref, selectrow_hashref, selectall_hashref Added DBI->connect(..., { dbi_connect_method => 'method' }) Added $h->{ShowErrorStatement}=1 to cause the appending of the relevant Statement text to the RaiseError/PrintError text. Trace method uses warn() if it can't open the new file. Trace shows source line and filename during global destruction. Documentation: Documented $DBI::lasth (which has been there since day 1). Documented SQL_* names. Clarified and extended docs for $h->state Clarified fetchall_arrayref({}) docs Clarified type_info_all re lettercase and index values. Updated DBI::FAQ to 0.38 Added cute bind_columns example Extended docs on \%attr arg to data_sources method. Proxy: Removed debug messages from DBD::Proxy AUTOLOAD Added fix for problem using table_info Added better determination of where to put the pid file Added KNOWN ISSUES section to DBD::Proxy docs Known issues: Perl 5.005 and 5.006 both leak memory doing local($handle->{Foo}). Perl 5.004 doesn't. The leak is not a DBI or driver bug.
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-12-07Update to 1.14.mjl2-4/+4
NOTE: This version is the one the DBI book is based on. NOTE: This version requires at least Perl 5.004. Perl 5.6 ithreads changes with thanks to Doug MacEachern. Changed trace output to use PerlIO thanks to Paul Moore. Fixed bug in RaiseError/PrintError handling. (% chars in the error string could cause a core dump.) Fixed Win32 PerlEx IIS concurrency bugs thanks to Murray Nesbitt. Major documentation polishing thanks to Linda Mui at O'Reilly. Password parameter now shown as **** in trace output. Added two fields to type_info and type_info_all. Added $dsn to PrintError/RaiseError message from DBI->connect(). Changed prepare_cached() croak to carp if sth still Active. Added prepare_cached() example to the docs. Added further DBD::ADO enhancements from Thomas Lowery.
2000-08-27Convert packages to use PERL5_PACKLIST (part 2). These are the database andjlam5-50/+5
Apache perl modules, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
2000-05-11update to 1.13:christos2-4/+4
Changes in DBI 1.13, 11th July 1999 Fixed Win32 PerlEx IIS concurrency bugs thanks to ActiveState. Fixed problems with DBD::ExampleP long_list test mode. Added SQL_WCHAR SQL_WVARCHAR SQL_WLONGVARCHAR and SQL_BIT to list of known and exportable SQL types. Improved data fetch performance of DBD::ADO. Added GetTypeInfo to DBD::ADO thanks to Thomas Lowery. Actually documented connect_cached thanks to Michael Schwern. Fixed user/key/cipher bug in ProxyServer thanks to Joshua Pincus. Changes in DBI 1.12, 29th June 1999 Fixed significant DBD::ADO bug (fetch skipped first row). Fixed ProxyServer bug handling non-select statements. Fixed VMS problem with t/examp.t thanks to Craig Berry. Trace only shows calls to trace_msg and _set_fbav at high levels. Modified t/examp.t to workaround Cygwin buffering bug. Changes in DBI 1.11, 17th June 1999 Fixed bind_columns argument checking to allow a single arg. Fixed problems with internal default_user method. Fixed broken DBD::ADO. Made default $DBI::rows more robust for some obscure cases. Changes in DBI 1.10, 14th June 1999 Fixed trace_msg.al error when using Apache. Fixed dbd_st_finish enhancement in Driver.xst (internals). Enable drivers to define default username and password and temporarily disabled warning added in 1.09. Thread safety optimised for single thread case. Changes in DBI 1.09, 9th June 1999 Added optional minimum trace level parameter to trace_msg(). Added warning in Makefile.PL that DBI will require 5.004 soon. Added $dbh->selectcol_arrayref($statement) method. Fixed fetchall_arrayref hash-slice mode undef NAME problem. Fixed problem with tainted parameter checking and t/examp.t. Fixed problem with thread safety code, including 64 bit machines. Thread safety now enabled by default for threaded perls. Enhanced code for MULTIPLICITY/PERL_OBJECT from ActiveState. Enhanced prepare_cached() method. Minor changes to trace levels (less internal info at level 2). Trace log now shows "!! ERROR..." before the "<- method" line. DBI->connect() now warn's if user / password is undefined and DBI_USER / DBI_PASS environment variables are not defined. The t/proxy.t test now ignores any /etc/dbiproxy.conf file. Added portability fixes for MacOS from Chris Nandor. Updated mailing list address from fugue.com to isc.org.
1999-07-01Correct a typo.agc1-1/+1
1999-06-10Oops. The PLIST-mi contents were in the PLIST-md.shared file and vice versa.bad3-42/+44
Fix this and also get rid of the lib/perl5/site_perl/Bundle/DBD directory on deinstall.
1999-06-10Initial import of DBI-1.08 the Perl database access API.bad7-0/+70