Skip to content

Commit

Permalink
Assorted ToDo tweaks
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.perl.org/modules/dbi/trunk@441 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information
timbunce committed Aug 26, 2004
1 parent 2228651 commit 03eb634
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ToDo
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Change undocumented DBI->err and DBI->errstr methods to warn.
Bundle enhanced DBD::Multiplex
RISK: may break apps using old DBD::Multiplex

disconnect() implies rollback() unless AutoCommit (Driver.xst + drivers)

--- Internal Changes

Increase size of DBIS (dbistate) structure and imp_xxh.com structures
Expand Down Expand Up @@ -113,6 +115,11 @@ A big project.

-- others --

Add (auto-maintained) #define macro giving the version number of the DBI
as an integer in a form that can be used by #if statements (eg 1043000)
e.g. Have Makefile.PL write a .h file that contains the value and have
that #included by DBIXS.h

Fixup @DBD::Foo::ISA and ?->setup_driver issues

Add "imp_xxh_t* imp_xxh;" element to com struct that points back at
Expand Down Expand Up @@ -156,6 +163,7 @@ Use one bit for logging just the SQL statement executed
(with no extra text) ideally in a way that lets the text
file be parsed again later. Perhaps append ";\n\n\n" to each.
Add parameter values and row count as comments afterwards?
Use one bit for logging just Errors.

Ability to remove a handle from the parents cache:
$sth->uncache;
Expand Down Expand Up @@ -197,6 +205,9 @@ e.g. $dbh->{DefaultBindTypeArgs} = {
OnFetch => sub { ... }
}); # YYYY-MM-DD

Method call for drivers to get (or indicate they've got) the sth metadata
which can then be used to trigger default bind_cols.

Add a handle flag to say that the driver has a hash that maps error
codes into SQLSTATE values. The error event mechanism could check for
the flag and lookup the SQLSTATE value for the error from the hash.
Expand Down

0 comments on commit 03eb634

Please sign in to comment.