- updated to 1.52
see /usr/share/doc/packages/perl-DBD-ODBC/Changes
1.52 2015-04-15
[MISCELLANEOUS]
Changes to the test suite to make it run better with Postgres thanks
to Greg Sabino Mullane.
1.51_4 2015-01-18
[BUG FIXES]
Numerous errors in the test suite (with SQLite ODBC driver) mostly down to not
creating the test table first.
[MISCELLANEOUS]
Try and make the test suite run ok for SQLite ODBC driver so I can use it
in travis-ci.
1.51_3 2015-01-17
[BUG FIXES]
RT101579 - using bound input parameters for numeric columns (e.g.,
SQL_NUMERIC) only works the first time and will quite likey fail
with "string data, right truncation" on the second and subsequent
calls to execute. Thanks to Laura Cox for finding.
1.51_2 2014-11-19
[BUG FIXES]
The table_info method (ANSI version only) was incorrectly passing
the table name for the type argument. I think this bug was
introduced last year.
1.51_1 2014-11-14
[BUG FIXES]
RT100186 - handle VARBINARY(MAX) parameters with SQL Server native
client. Identify "libmsodbcsql*" as the MS ODBC Driver for Linux as
there are some specific workarounds for MS Native Client ODBC driver.
1.50 2014-07-25
[BUG FIXES]
The 80_odbc_diags.t test could fail if a driver fails a table does
not exist test in the prepare instead of the execute.
1.49_4 2014-07-08
[BUG FIXES]
Fixed sql_type_cast.t test which assumed column aliases which stay
lowercase.
Fixed 87_odbc_lob_read.t test which did not bow out of the test
properly if the database was not MS SQL Server.
[DOCUMENTATION]
Revised the query notification example and documentation.
Added a link to a better Query Notification article.
1.49_3 2014-05-01
[CHANGE IN BEHAVIOUR]
As warned years ago, this release removes the odbc_old_unicode attribute.
If you have a good reason to use it speak up now before the next non-development
release.
[BUG FIXES]
Fix rt89255: Fails to create test table for tests using PostgreSQL odbc driver.
Change test suite to fallback on PRECISION if COLUMN_SIZE is not found.
[ENHANCEMENTS]
Added support for MS SQL Server Query Notification. See the new
section in the pod.
Added a currently undocumented (and experimental)
odbc_describe_param method on a statement handle which takes a
parameter number as the only argument and returns an array of the
data type, parameter size, decimal digits and nullable (as per
SQLDescribeParam).
[DOCUMENTATION]
Added FAQ on truncated column names with freeTDS.
[MISCELLANEOUS]
I have removed the "experimental" tag for odbc_getdiagfield and odbc_getdiagrec
methods.
1.49_2 2014-04-26
[BUG FIXES]
Change to data_sources in 1.49_1 could lead to a compile error since
data_sources was not returning a value if an error occurred.
1.49_1 2014-04-25
[BUG FIXES]
If you had a lot of DSNs on Windows (more than 280 but it depends on
the length of their names) and called the data_sources method it
could crash your script. Code internally changed to stop putting the DSNs
returned on the stack.
[CHANGE IN BEHAVIOUR]
As warned years ago, the private data_sources method has been
removed - use DBI one instead.
[MISCELLANEOUS]
Added FAQ entry of maximum number of allowed parameters.
OBS-URL: https://build.opensuse.org/request/show/328308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-ODBC?expand=0&rev=38
Full release of the 1.46 development releases.
[MISCELLANEOUS]
Just some tidying up of dbdimp.c - shouldn't make a difference to anyone.
Further changes to this change file to make it CPAN::Changes spec.
NOTE the changes.cpanhq.com site does not yet support "unknown" for
dates.
1.46_2 2013-12-17
[BUG FIXES]
When built with unicode support and odbc_old_unicode is not enabled
columns reported as SQL_LONGVARCHAR were not by default bound as
SQL_WCHAR and hence were not returned correctly unless the bind was
overridden.
[MISCELLANEOUS]
Added test 90_trace_flag.t
1.46_1 2013-11-16
[CHANGE IN BEHAVIOUR]
As warned in release 1.45, the binding of unicode parameters to
char/varchar columns has changed significantly. If you don't attempt
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-ODBC?expand=0&rev=34
- update to 1.33
[ENHANCEMENTS]
* Enable multiple active statement support in 70execute_array.t for
drivers we recognise which support MAS.
* Change column_info to support Unicode catalog/schema/table/column
names.
* Use SQLGetTypeInfoW on unicode builds.
* DBD::ODBC now allows unicode catalog/schema/table parameters to be
passed to table_info. Of course they will only reliably work with
a supporting Unicode ODBC driver.
* Added new odbc_driver_complete attribute allowing the ODBC Driver
Manager and ODBC Driver to throw dialogues for incomplete
connection strings or expired passwords etc.
[BUG FIXES]
* remove debugging printf which output "HERE" in some rare cases.
rt 72534 - thanks John Deighan for spotting this.
* The test 70execute_array.t could fail due to warning being output
if the driver does not support Multiple Active Statements.
* Fix bug in utf16_copy which was not adding a trailing NUL but I'm
not sure this affected anyone until I changed table_info this
release.
* I omitted rt_68720.t from the 1.31 distribution which leads
to a warning as it is mentioned in the MANIFEST.
[DOCUMENTATION]
* new FAQ entries
* added note saying you cannot pass unicode schema/table/column
names to metadata calls like table_info/column_info currently.
[OTHER]
* Changed line endings in README.af and README.unicode to be unix
line endings and native eol-style in subversion.
OBS-URL: https://build.opensuse.org/request/show/95098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-ODBC?expand=0&rev=33
[ENHANCEMENTS]
* Enable multiple active statement support in 70execute_array.t for
drivers we recognise which support MAS.
* Change column_info to support Unicode catalog/schema/table/column
names.
* Use SQLGetTypeInfoW on unicode builds.
* DBD::ODBC now allows unicode catalog/schema/table parameters to be
passed to table_info. Of course they will only reliably work with
a supporting Unicode ODBC driver.
* Added new odbc_driver_complete attribute allowing the ODBC Driver
Manager and ODBC Driver to throw dialogues for incomplete
connection strings or expired passwords etc.
[BUG FIXES]
* remove debugging printf which output "HERE" in some rare cases.
rt 72534 - thanks John Deighan for spotting this.
* The test 70execute_array.t could fail due to warning being output
if the driver does not support Multiple Active Statements.
* Fix bug in utf16_copy which was not adding a trailing NUL but I'm
not sure this affected anyone until I changed table_info this
release.
* I omitted rt_68720.t from the 1.31 distribution which leads
to a warning as it is mentioned in the MANIFEST.
[DOCUMENTATION]
* new FAQ entries
* added note saying you cannot pass unicode schema/table/column
names to metadata calls like table_info/column_info currently.
[OTHER]
* Changed line endings in README.af and README.unicode to be unix
line endings and native eol-style in subversion.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-ODBC?expand=0&rev=29
- update to 1.31
[ENHANCEMENTS]
* An extra argument has been added to the sub associated with
odbc_err_handler. The arguments passed to the odbc_err_handler are
now state (string), error (string), native error code (number) and
the status returned from the last ODBC API. The status will be
SQL_ERROR (-1) for errors or SQL_SUCCESS_WITH_INFO (1) for
informational messages.
* Added support for StrictlyTyped and DiscardString to the bind_col
method.
* Added the new odbc_describe_parameters attribute.
* added -w option to Makefile.PL to add "-Wall" to CCFLAGS and
-fno-strict-aliasing so I can find warnings.
* Cope with broken ODBC drivers that describe a parameter as SQL
type 0.
OBS-URL: https://build.opensuse.org/request/show/76158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-ODBC?expand=0&rev=28
* Fixed missing SQL_MAX_TABLE_NAME_LEN definition from test.
* Fixed problem with some drivers which batch "insert;select" where
SQLMoreResults is not required and an extra describe is done.
* Fixed "select 1" in 02simple.t for Firebird ODBC Driver.
* disconnect call added to 70execute_array.t was in the wrong place.
* Added support for DBI's new trace flags ENC, CON, TXN and
DBD.
* And many other fixes and enhancements
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-ODBC?expand=0&rev=21