buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
Most notable changes:
Fixed problems with selectrow_array, selectrow_arrayref, and
selectall_arrayref introduced in DBI 1.29.
The trace output can be sent to STDOUT instead of STDERR by using
"STDOUT" as the name of the file, i.e., $h->trace(..., "STDOUT")
Added $sth->{ParamValues} to return a hash of the most recent
values bound to placeholders via bind_param() or execute().
Enhanced ShowErrorStatement to include ParamValues if available:
"DBD::foo::st execute failed: errstr [for statement ``...'' with params: 1='foo']"
Fixed missing column in C implementation of fetchall_arrayref()
Added C implementations of selectrow_arrayref() and fetchall_arrayref()
in Driver.xst. All compiled drivers using Driver.xst will now be
faster making those calls.
Drivers just need to be recompiled and reinstalled to enable it.
Added $max_rows parameter to fetchall_arrayref() to optionally limit
the number of rows returned. Can now fetch batches of rows.
Added MaxRows attribute to selectall_arrayref()
which then passes it to fetchall_arrayref().
Documented that $h->func() does not trigger RaiseError etc
so applications must explicitly check for errors.
HandleError subroutine interface is now regarded as stable.
Fixed reference loop causing a handle/memory leak
that was introduced in DBI 1.16.
Fixed DBI::Format to work with 'filehandles' from IO::Scalar
and similar modules
Fixed $h->func for DBI::PurePerl
Fixed $dbh->{Name} for DBI::PurePerl
Added DBI method call profiling and benchmarking.
Added execute_array() and bind_param_array() documentation
Removed undocumented Handlers attribute (replaced by HandleError).
Greatly improved DBI::PurePerl in performance and accuracy.
Added DBI::PurePerl, a transparent DBI emulation for pure-perl drivers
See Perldoc DBI::PurePerl for details.
Added DBI::Const::GetInfo* modules
Added write_getinfo_pm utility to DBI::DBD
Added $allow_active==2 mode for prepare_cached()
Extend $h->{Warn} to commit/rollback ineffective warning
Rearrange several bits of the rrdtool build mechanism so that we're not
cheating quite as much. The end result is that rrdtool now compiles on
both ELF and a.out.
Closes pkg/14606 from Tim Preston <tim at flibble dot org>
Provided in PR 17683 by Sergio Jimenez <sjr@hispabsd.org>
phpPgAdmin is phpMyAdmin (for MySQL) ported to PostgreSQL. phpPgAdmin
is a fully functional PostgreSQL administration utility. You can use
it to create an maintain multiple databases and even multiple servers.
Features include:
- create and drop databases
- create, copy, drop and alter table/view/sequence/function/indicie/trigger
- edit and add fields (to the extent Postgres allows)
- execute any SQL-statement, even batch-queries
- manage primary and unique keys
- create and read dumps of tables
- administer one single database
- administer multiple servers
- administer postgres users and groups
Changes since 1.2219:
* dbdimp.c: Added a required check for mysql_errno.
Steve Hay <Steve.Hay@uk.radan.com>
* dbdimp.c: Removed use of mysql_eof. Jay Lawrence <jay@lawrence.net>
* dbdimp.c: Fixed mysql_is_auto_increment. Paul Walmsley
<shag-dbdmysql@booyaka.com> and Paul Dubois <paul@kitebird.org>
* dbdimp.c: Added use of mysql_ssl_set. Chris Hanes <chanes@i-c.net>
* Some fixes in the docs. Paul Dubois <paul@kitebird.com>
* Added mysql_is_auto_increment. (Someone else, but forgot his email, sorry!)
* lib/DBD/mysql.pod: Fixed minor bug in an example.
* Within AutoCommit mode, reconnect is now turned off, because the
transaction state is unpredictable otherwise.
* dbdimp.c: Added use of SvMAGICAL to dbd_db_quote.
Rudy Lippan <almighty@randomc.com>
* bind_param now using mysql_real_escape_string
as well. Dave Rolsky <autarch@urth.org>
* Added mysql_ssl flag to DBI->connect.
* Quoting now based on mysql_real_escape_string. Thanks
to Dave Rolsky <autarch@urth.org> for suggesting this.
* Portability changes for MySQL 4.
* dbdimp.c: Fixed $dbh->{mysql_insertid}; added t/insertid.t
* Added transaction support for MySQL. (Bob Lyons <lyons@nextrials.com>)
* dbd/dbdimp.c: Fixed MAXLENGTH warning; used to hint for a not existing
mysql_maxlength, which should read mysql_max_length.
(Paul DuBois <paul@snake.net>)
* Fixed installation problem when a directory was specified,
but did not exist. (Will Partain <partain@dcs.gla.ac.uk>)
* Fixed that mysql_errno wasn't used properly. (Chris Adams
<cmadams@hiwaay.net>)
* Fixed test suite problem, when user name and password
have been interpolated. (Bruno Hivert (LMC) <lmcbrhi@lmc.ericsson.se>)
* mysql_insertid and mysql_affectedrows are no longer treated
as integers, but longs. Thanks to Michael G Schwern <schwern@pobox.com>.
make test gives the same output as for the previous pkgsrc version.
Thanks, atatat!
Release 0.93
Added password encryption option to connect() request (contributed
by Tin Martone)
Added initial nsql().
Added ct_get_data(), ct_send_data() and friends func().
Added ?-style placeholder support for exec proc statements.
Changed getExtraLibs() in Makefile.PL to *not* link with -linsck
or -ltli (this avoids problems if the $SYBASE/config/libtcl.cfg
file has been set to load the threaded version of these
libraries.)
Added support for primary_key_info().
(release 0.92 was never publicly released for various reasons)
Bugs Fixed:
366 ping() fails if connection has been marked dead
364 t/fail.t bug.
Release 0.91
Removed artificial 1024 byte limit on char/varchar datatypes in
result sets.
Bug Fixes:
213: BLOBs are returned in HEX, not binary.
Release 0.90
Release number sequence change: I'm dropping the "alpha" qualifier
and I expect to release 1.00 fairly soon.
Small Makefile.PL fix for Sybase 12.0 installation directory
changes.
Applied patch from Tim Ayers to allow 0x type formatting for
binary data fetches (similar to what Sybase::CTlib and
Sybase::DBlib allow).
Fixed some t/ scripts to not fail when run against MS-SQL.
Corrected the handling of timeout events in the client
callback.
Bug Fixes:
349: CS_NUMERIC bindings for ?-style placeholders fails for large
values.
345: Dynamic statement ids get re-used.
351: prepared statements with placeholders cause handle to become
unusable if *first* execute fails.
352: ping() doesn't work right in Apache::DBI (thanks to
Kiriakos Georgiou)
353: syb_quoted_identifier doesn't work.
354: Calling fetch() after prepare() but no execute() fails with
internal DBI error. This should also fix bug # 278 and 288.
297: type_info() returns incorrect or no data.
344: timeout doesn't work correctly.
Fixes PR 15067 bye ebe@statsbiblioteket.dk
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
DESCR:
Apache::AuthDBI.pm and Apache::DBI.pm are supposed to be used with
the Apache server together with an embedded perl interpreter like
mod_perl. They provide support for basic authentication and
authorization as well as support for persistent database connections
via Perl's Database Independent Interface (DBI).