Commit graph

18 commits

Author SHA1 Message Date
mjl
12532193d2 Update p5-DBI to 1.21
Fixed DBD::Proxy support for AutoCommit
  Fixed DBI::ProxyServer bind_param(_inout) handling
  Fixed DBI::ProxyServer fetch loop
  Fixed install_driver do-the-right-thing with $@ on error. It, and connect(),
    will leave $@ empty on success and holding the error message on error.
  Fixed fetchrow_hashref to assign columns to the hash left-to-right
    so later fields with the same name overwrite earlier ones
    as per DBI < 1.15
  Changed tables() to use quote_indentifier() if the driver returns a
    true value for $dbh->get_info(29) # SQL_IDENTIFIER_QUOTE_CHAR
  Changed ping() so it no longer triggers RaiseError/PrintError.
  Changed connect() to not call $class->install_driver unless needed.
  Changed DESTROY to catch fatal exceptions and append to $@.
  Added ISO SQL/CLI & ODBCv3 data type definitions
  Removed the definition of SQL_BIGINT data type constant as the value is
    inconsistent between standards (ODBC=-5, SQL/CLI=25).
  Added $dbh->column_info(...)
  Added $dbh->foreign_key_info(...)
  Added $dbh->quote_identifier(...)
  Added $h->{HandleError} = sub { ... } addition and/or alternative
    to RaiseError/PrintError.
  Added Fowler/Noll/Vo hash type as an option to DBI::hash().
  Added DBI::Changes so now you can "perldoc DBI::Changes", yeah!
  Added selectrow_arrayref & selectrow_hashref docs
2002-02-14 15:50:05 +00:00
explorer
d7017509b6 upgrade DBI from 1.19 to 1.20 to fix a nasty memory leak 2001-12-05 17:36:39 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
mjl
ae5a74641d Update to 1.19
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-08-10 11:49:04 +00:00
mjl
2a8c0cd72b Updated to 1.18
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-10 13:52:45 +00:00
mjl
b66c2b8d9f Updated to 1.16.
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-06-02 14:50:35 +00:00
agc
6ef28d06c5 Move to sha1 digests, and add distfile sizes. 2001-04-18 16:10:56 +00:00
agc
5092342d3d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ include distfile filesizes in distinfo
2001-04-17 09:56:50 +00:00
mjl
d5775fd64f Update to 1.15. Notable changes:
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-04-13 15:06:11 +00:00
wiz
417e8bbabf Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:17:22 +00:00
mjl
21b85e4fd6 Update to 1.14.
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-12-07 08:10:40 +00:00
jlam
c70c96f2c8 Convert packages to use PERL5_PACKLIST (part 2). These are the database and
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-08-27 10:37:00 +00:00
christos
6f8635fa1b update to 1.13:
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.
2000-05-11 18:37:06 +00:00
agc
79e0260c8f Correct a typo. 1999-07-01 08:04:36 +00:00
bad
a80c0473f0 Oops. The PLIST-mi contents were in the PLIST-md.shared file and vice versa.
Fix this and also get rid of the lib/perl5/site_perl/Bundle/DBD directory
on deinstall.
1999-06-10 18:28:19 +00:00
bad
c157346512 Initial import of DBI-1.08 the Perl database access API. 1999-06-10 12:46:35 +00:00