From: Kevin Kenny <kkenny2@ny...> - 2008-06-14 19:58:59
I've sent another batch of changes to Donal for inclusion in TIP #308.
Most of them are editorial, but there are a few that reviewers should
be aware of:
(1) The 'nextrow' method on result sets has been split into two:
$resultset nextlist variableName
and $resultset nextdict variableName
The 'nextrow' method, as specified in the TIP, is retained, but
database interfaces need not implement it. It is implemented in the
'tdbc::resultset' base class and delegates to the 'nextlist' or
'nextdict' method of the derived class as appropriate. This change
saves implementors of database interfaces one round of -option
(2) The 'transaction' method on database connections has had its
handling of unusual status codes simplified:
TCL_OK, TCL_BREAK, TCL_CONTINUE, TCL_RETURN: Commit the
transaction and rethrow.
TCL_ERROR, anything else: Rollback the transaction and
No attempt is made to decode return options on TCL_RETURN;
the TIP warns that scripts should not 'return -code',
'return -level' or 'return -options' to escape from a
transaction, but that if they do, the transaction is committed.
(3) [db tables] and [db columns] were elevated to MUST.
(4) The return values for [db configure] were rationalized; it
now returns configuration options in a parallel way to what
The TIP should be on the site when Donal gets it there. I wasn't
able to do it with the 'edit' interface because the TIP content
fails to clear the spam filter.
I still plan to call the vote in the coming week, but will wait
at least 48 hours after Donal confirms updating the TIP.
73 de ke9tv/2, Kevin
From: Joe English <jenglish@fl...> - 2008-06-14 21:28:30
Kevin Kenny wrote:
> I still plan to call the vote in the coming week, but will wait
> at least 48 hours after Donal confirms updating the TIP.
Since I'll be on vacation the next two weeks
with unpredictable access to email, can I cast
an early absentee ballot?
If that's OK:
TIP#308 "Tcl Database Connectivity": YES.
In light of the recent discussion on null handling in Tcl, I'd like to
make the following suggestion regarding TIP #308 : that the null
representation returned in *-as lists* result sets be configurable, and
not be fixed to the empty string as it is currently specified (although
it's a sensible default value). That way a sensible domain-specific
value can be chosen (e.g. \uffff).
I hope it's not too late, I've been very busy these days in the real