Author: timbo
Date: Tue Aug 3 05:25:33 2004
New Revision: 419
Modified:
dbi/trunk/Changes
dbi/trunk/DBI.pm
dbi/trunk/ToDo
Log:
Corrected fetchall_arrayref() docs example thanks to Drew Broadley.
Assorted updates to ToDo
Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes (original)
+++ dbi/trunk/Changes Tue Aug 3 05:25:33 2004
@@ -18,6 +18,7 @@
Corrected docs to say that get/set of unknown attribute generates
a warning and is no longer fatal. Thanks to Vadim.
+ Corrected fetchall_arrayref() docs example thanks to Drew Broadley.
=head2 Changes in DBI 1.43 (svn rev 377), 2nd July 2004
Modified: dbi/trunk/DBI.pm
==============================================================================
--- dbi/trunk/DBI.pm (original)
+++ dbi/trunk/DBI.pm Tue Aug 3 05:25:33 2004
@@ -5241,7 +5241,7 @@
my $rows = []; # cache for batches of rows
while( my $row = ( shift(@$rows) || # get row from cache, or reload cache:
- shift(@{$rows=$sth->fetchall_arrayref(undef,10_000)||[]) )
+ shift(@{$rows=$sth->fetchall_arrayref(undef,10_000)||[]}) )
) {
...
}
Modified: dbi/trunk/ToDo
==============================================================================
--- dbi/trunk/ToDo (original)
+++ dbi/trunk/ToDo Tue Aug 3 05:25:33 2004
@@ -35,6 +35,9 @@
Change undocumented DBI->err and DBI->errstr methods to warn.
+Bundle enhanced DBD::Multiplex
+RISK: may break apps using old DBD::Multiplex
+
--- Internal Changes
Increase size of DBIS (dbistate) structure and imp_xxh.com structures
@@ -57,6 +60,8 @@
Remove PERL_POLLUTE (so some names will require PL_ or Perl_ prefixes)
+Update dbipport.h from latest Devel::PPPort.
+
Add function pointers for setting fetched field values into DBIS.
IV, UV, NV, PV and SV?
Drivers to use this instead of calling sv_setpv (etc) themselves.
@@ -122,6 +127,13 @@
Remove _not_impl. Alias debug to trace in DBI::(dr/db/st) and remove
debug() method from internals.
+DBD::Multiplex enhancements (Thomas Kishel <[EMAIL PROTECTED]>):
+Enable DBIx::HA (http://search.cpan.org/~hasseily/DBIx-HA/HA.pm) features.
+SQL translation hooks:
+mx_translate_sql_parent - called by prepare() to translate sql from app
+mx_translate_sql_child - called for each child handle so each can have different
dialect
+(note that mx_translate_sql_parent could parse into internal tree
+from which mx_translate_sql_child then 'regenerates' custom sql for the child handle)
====== LATER ======
@@ -208,6 +220,8 @@
--- Other changes
+Simplify layering/subclassing of DBD's
+
Reconsider clone() API
See comment under $drh->$connect_meth in DBI.pm about $drh->errstr
@@ -268,6 +282,8 @@
Add $h->err_errstr_state method that returns all three in one go.
+Support async (non-blocking) mode
+
Study alternate DBI's:
ruby
python