DBD-Teradata
view release on metacpan or search on metacpan
doc/tdatdbd.html view on Meta::CPAN
<li>added tdat_respsize connection handle attribute to permit tunable
response buffer size (replaces deprecated tdat_bufsize)
<li>added tdat_reqsize connection handle attribute to permit tunable
request buffer size (replaces the deprecated tdat_bufsize)
<li>major refactoring of prepare()/execute() to suss out 6 years (!?!)
of organic code grafting
<li>changed DECIMAL input/output conversion to support Math::BigInt
if available, rather than converting to/from float, which could
lead to possible loss of precision, esp. when VARDECIMAL arrives
<li>added tdat_no_bigint connection/statement attribute to disable
using Math::BigInt for DECIMALs; if supplied on connection handle,
all derived statement handles will inherit the value. Default false
(use Math::BigInt).
<li>enhancements to minimize buffer copying for large requests
<li>fixed placeholder binding types behavior to conform to DBI
spec: when a prior execution has applied explicit type info via
bind_param[_array](), any succeding executions should reuse the
type info unless it has been changed, including when using implicit
parameters (ie, params supplied directly in execute[_array]()).
Previously, implict binding would cause type info to be reset to
VARCHAR for all PHs (note this only applies to '?' placeholders)
<li>fixed bind_param[_array]() for DECIMAL types with full PRECISION
and SCALE specifications; previously the precision/scale info was
being ignored
<li>fixed bug in execute() for implicit vartext input; previously
parameters were not getting picked up after processing by bind_param()
<li>updated SQLSTATE mapping, per R6.1 docs; the following changes/corrections
occured:
<pre>
Error New Old
Code SQLSTATE SQLSTATE
----- -------- --------
2664 54001 54011
3628 42507 43507
3653 53026 53016
3737 01004 54001
</pre>
<li>added tdat_reporter attribute to $sth for execute_for_fetch();
value is arrayref of [ $count, \&report_sub() ], which causes
report_sub() to be called with the current total sent tuple count
whenever the tuple count MOD $count is zero (ie, a progress indicator)
NOTE: this only applies to pre v2R6.0 (ie, execute tuple at a time)
</ul><p>
Release 8.001.04<p>
<ul>
<li>fix st::DESTROY to finish() if 'Active'
<li>weaken() $dbh->{_stmts}{CursorName} reference to $sth
if Scalar::Util::weaken() is available, in order
to permit sth->DESTROY() to be called when sth goes
out of scope in application
<li>updated Makefile.PL to warn if Scalar::Util is not available
<li>removed perldoc from Makefile.PL (some platforms don't install it)
</ul><p>
Release 8.001.03<p>
<ul>
<li>add full COPn suffix to logonsource string
when COPn hostname resolution occurs
<li>remove srand() from connection sequence; was causing clustering
of initial rand() values
<li>added COP reselection and connection retry if a selected COPn
connection attempt fails, up to the number of COPs defined
<li>added tdat_security connection() option to enable disable
encrypted logons (eventually use to support security
method, e.g., for SSO)
<li>changed socket from pure filehandle to IO::Socket::INET object
<li>added tdat_timeout connection attribute to set the
socket timeout value; useful for limiting the wait
for failed connects.
<b>!!!NOTE!!!:</b> this attribute has no effect on Win32 platforms,
due to issues with setting nonblocking behavior on sockets.
</ul><p>
Release 8.001.02<p>
<ul>
<li>patch handling of returned CHAR() data to trim spaces padding:
required use of MULTIPARTREQ during prepare to retrieve
PREPINFOX to get true column character set info, along
with case-specific indicator.
<li>added tdat_CHARSET metadata field, and TD_CS_ASCII, TD_CS_LATIN,
TD_CS_UNICODE constants to return character set info. Note that the high
bit of the tdat_CHARSET byte value indicates the case-specificity
(i.e., 0x80 | TD_CS_UNICODE == case-specific UNICODE column)
<li>added interactive mode to test.pl via -i option, which prompts
user for y/n to continue or exit after each test
</ul><p>
Release 8.001a<p>
<ul>
<li>added support for get_info, type_info, type_info_all
</ul><p>
Release 8.001<p>
<ul>
<li>added support for V2R6.0 pure perl logon encryption
<li>fixed logonsource info to include app name, login ID, and servername
</ul><p>
( run in 0.592 second using v1.01-cache-2.11-cpan-39bf76dae61 )