I have released 1.17_2 development release of DBD::ODBC. The changes
since the last official release are listed below. It should appear on
cpan soon.
As always, any testing of this would be appreciated.
=head1 CHANGES
=head2 Changes in DBD::ODBC 1.17_2 November 17, 2008
Changed ParamTypes attribute to be as specification i.e.,
{
parameter_1 => {TYPE => sql_type}
parameter_2 => {TYPE => sql_type}
...
}
and changed the tests in 07bind.t to reflect this.
A few minor perlcritic changes to ODBC.pm.
Added 99_yaml.t test to check META.yml.
Added patch from Spicy Jack to workaround problems with Strawberry
Perl setting INC on the command line when running Makefile.PL.
=head2 Changes in DBD::ODBC 1.17_1 October 10, 2008
Missing newline from end of META.yml upsets cpan
Add code to Makefile.PL to spot command line containing INC, outline
problem and resolution and not generate Makefile to avoid cpan-testers
failures.
Loads of pod formatting changes including a section in the wrong place
New kwalitee test
Fix rt 39841. Bug in SQL Server ODBC driver which describes parameters
by rearranging your SQL to do a select on the columns matching the
parameters. Sometimes it gets this wrong and ends up describing the
wrong column. This can lead to a varchar(10) being described with a
column-size less than 10 and hence you get data truncation on execute.
Added a test case for rt 39841.
Fix rt 39897. 1.17 added support for varchar(max) in SQL Server
but it broke support for SQL_VARCHAR columns in that they had LongReadLen
and LongTruncOk applied to them. This means that in 1.16 you could retrieve
a SQL_VARCHAR column without worrying about how long it was but in 1.17
if the same column was greater than 80 characters then you would
get a truncated error. The only way the around this was to set
LongTruncOk or LongReadLen.
Added a test case for rt 39897.
Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com