[perl-DBD-ODBC] Updated to upstream version 1.48 (#1072877)
Jan Holcapek
holcapek at fedoraproject.org
Thu Mar 6 05:34:14 UTC 2014
commit 3d625494b1a780ab44b3ccc21155e642b45936a5
Author: Jan Holcapek <holcapek at gmail.com>
Date: Thu Mar 6 06:29:56 2014 +0100
Updated to upstream version 1.48 (#1072877)
.gitignore | 1 +
Changes.patch | 239 +++++++++++++++++++++++++++-------------------------
perl-DBD-ODBC.spec | 7 +-
sources | 1 +
4 files changed, 131 insertions(+), 117 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b92996d..ca889e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/DBD-ODBC-1.45.tar.gz
/DBD-ODBC-1.47.tar.gz
+/DBD-ODBC-1.48.tar.gz
diff --git a/Changes.patch b/Changes.patch
index caeeb55..7ee0f30 100644
--- a/Changes.patch
+++ b/Changes.patch
@@ -1,5 +1,5 @@
---- ./Changes 2014-02-24 11:29:10.083463035 +0100
-+++ ./Changes 2014-02-24 11:30:29.734483239 +0100
+--- DBD-ODBC-1.48/Changes.orig 2014-03-06 06:27:01.975739745 +0100
++++ DBD-ODBC-1.48/Changes 2014-03-06 06:26:20.076449272 +0100
@@ -3,9 +3,11 @@
=encoding utf8
@@ -8,12 +8,21 @@
+
DBD::ODBC::Changes - Log of significant changes to the DBD::ODBC
+-1.48 2014-03-03
++=head2 1.48 2014-03-03
+
+ [MISCELLANEOUS]
+
+@@ -14,7 +16,7 @@
+ Forgot to remove warning from ODBC.pm that this is a development
+ release and unicode change when I released 1.47.
+
-1.47 2014-02-19
+=head2 1.47 2014-02-19
Full release of the 1.46 development releases.
-@@ -17,7 +19,7 @@
+@@ -26,7 +28,7 @@
NOTE the changes.cpanhq.com site does not yet support "unknown" for
dates.
@@ -22,7 +31,7 @@
[BUG FIXES]
-@@ -30,7 +32,7 @@
+@@ -39,7 +41,7 @@
Added test 90_trace_flag.t
@@ -31,7 +40,7 @@
[CHANGE IN BEHAVIOUR]
-@@ -63,7 +65,7 @@
+@@ -72,7 +74,7 @@
Added test 45_unicode_varchar.t for MS SQL Server only so far.
@@ -40,7 +49,7 @@
[CHANGE IN BEHAVIOUR]
-@@ -88,7 +90,7 @@
+@@ -97,7 +99,7 @@
Small changes to 20SqlServer.t test to skip some tests and note the
problem if SQLExecute returns SQL_NO_DATA on a non searched update.
@@ -49,7 +58,7 @@
[BUG FIXES]
-@@ -107,7 +109,7 @@
+@@ -116,7 +118,7 @@
Updates to the odbc_more_results pod to help clarify its use after
some confusion was seen in a perlmonks thread.
@@ -58,7 +67,7 @@
[CHANGE IN BEHAVIOUR]
-@@ -143,7 +145,7 @@
+@@ -152,7 +154,7 @@
SQLGetTypeInfo. It also issues a warning. See
http://www.postgresql.org/message-id/524EF455.6050409@ntlworld.com
@@ -67,7 +76,7 @@
[MISCELLANEOUS]
-@@ -152,7 +154,7 @@
+@@ -161,7 +163,7 @@
Fixed some compiler warnings when attempting to print/trace SvCUR.
@@ -76,7 +85,7 @@
[BUG FIXES]
-@@ -180,7 +182,7 @@
+@@ -189,7 +191,7 @@
Added 87_odbc_log_read.t test.
@@ -85,7 +94,7 @@
Moved from subversion to github as svn.perl.org is closing down.
Changed docs to show new repository.
-@@ -194,7 +196,7 @@
+@@ -203,7 +205,7 @@
probably only see this if you are using fetchall_arrayref with a
slice and setting TYPE or attributes in bind_col first.
@@ -94,7 +103,7 @@
This is a full release of all the 1.42_* development releases.
-@@ -205,20 +207,20 @@
+@@ -214,20 +216,20 @@
Minor fix to 10handler.t test suite which relied on a native error
being true instead of defined.
@@ -118,7 +127,7 @@
[ENHANCEMENTS]
-@@ -228,7 +230,7 @@
+@@ -237,7 +239,7 @@
only enable ODBC API tracing in the application which made the call
unlike the ODBC Driver Manager settings.
@@ -127,7 +136,7 @@
[MISCELLANEOUS]
-@@ -236,7 +238,7 @@
+@@ -245,7 +247,7 @@
from Dave Mitchell and posting at
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-12/msg00424.html.
@@ -136,7 +145,7 @@
[BUG FIXES]
-@@ -265,7 +267,7 @@
+@@ -274,7 +276,7 @@
New rt_81911.t test case.
@@ -145,7 +154,7 @@
[BUG FIXES]
-@@ -298,11 +300,11 @@
+@@ -307,11 +309,11 @@
RT 80446 - fix spelling mistake - thanks to Xavier Guimar.
@@ -159,7 +168,7 @@
[BUG FIXES]
-@@ -325,7 +327,7 @@
+@@ -334,7 +336,7 @@
More documentation for odbc_out_connect_string.
@@ -168,7 +177,7 @@
[BUG FIXES]
-@@ -344,7 +346,7 @@
+@@ -353,7 +355,7 @@
Added Test::NoWarnings to some tests where it was missing.
@@ -177,7 +186,7 @@
[BUG FIXES]
-@@ -370,7 +372,7 @@
+@@ -379,7 +381,7 @@
If you attempt to bind an rv without amagic DBD::ODBC will now
croak - related to rt 78838.
@@ -186,7 +195,7 @@
[BUG FIXES]
-@@ -380,7 +382,7 @@
+@@ -389,7 +391,7 @@
execute_for_fetch.pl example had not be changed since
odbc_disable_array_operations became odbc_array_operations.
@@ -195,7 +204,7 @@
[BUG FIXES]
-@@ -396,14 +398,14 @@
+@@ -405,14 +407,14 @@
Made pod.t an author test.
@@ -212,7 +221,7 @@
[BUG FIXES]
-@@ -445,13 +447,13 @@
+@@ -454,13 +456,13 @@
sql_type_cast tests rewritten due to fixes above.
@@ -228,7 +237,7 @@
[BUG FIXES]
-@@ -473,7 +475,7 @@
+@@ -482,7 +484,7 @@
* Changed ordering of some of the pod sections.
@@ -237,7 +246,7 @@
[BUG FIXES]
-@@ -545,18 +547,18 @@
+@@ -554,18 +556,18 @@
* Made the 2 unicode tests work with DB2 ODBC driver.
@@ -259,7 +268,7 @@
[BUG FIXES]
-@@ -564,7 +566,7 @@
+@@ -573,7 +575,7 @@
smoker using MS Visual C where some code come before a variable
definition.
@@ -268,7 +277,7 @@
[BUG FIXES]
-@@ -612,7 +614,7 @@
+@@ -621,7 +623,7 @@
* Add 80_odbc_diags.t based on the same file in examples
@@ -277,7 +286,7 @@
[BUG FIXES]
-@@ -620,7 +622,7 @@
+@@ -629,7 +631,7 @@
into DBI but did not set IMP_KEEP_ERR so calling them cleared
DBI's errors.
@@ -286,7 +295,7 @@
[BUG FIXES]
-@@ -642,7 +644,7 @@
+@@ -651,7 +653,7 @@
* New FAQ entries.
@@ -295,7 +304,7 @@
[BUG FIXES]
-@@ -665,19 +667,19 @@
+@@ -674,19 +676,19 @@
* Added example execute_for_fetch.pl
@@ -318,7 +327,7 @@
[ENHANCEMENTS]
-@@ -687,7 +689,7 @@
+@@ -696,7 +698,7 @@
* Change column_info to support Unicode catalog/schema/table/column
names.
@@ -327,7 +336,7 @@
[BUG FIXES]
-@@ -701,7 +703,7 @@
+@@ -710,7 +712,7 @@
* Use SQLGetTypeInfoW on unicode builds.
@@ -336,7 +345,7 @@
[BUG FIXES]
-@@ -715,7 +717,7 @@
+@@ -724,7 +726,7 @@
passed to table_info. Of course they will only reliably work with
a supporting Unicode ODBC driver.
@@ -345,7 +354,7 @@
[ENHANCEMENTS]
-@@ -734,7 +736,7 @@
+@@ -743,7 +745,7 @@
* added note saying you cannot pass unicode schema/table/column
names to metadata calls like table_info/column_info currently.
@@ -354,7 +363,7 @@
[BUG FIXES]
-@@ -750,7 +752,7 @@
+@@ -759,7 +761,7 @@
* Added unicode_sql.pl and unicode_params.pl examples
@@ -363,7 +372,7 @@
[BUG FIXES]
-@@ -760,7 +762,7 @@
+@@ -769,7 +771,7 @@
Minor change to Makefile.PL to avoid use of unitialised warning on
$ENV{LD_LIBRARY_PATH} in warning when it is not set.
@@ -372,7 +381,7 @@
[BUG FIXES]
-@@ -780,7 +782,7 @@
+@@ -789,7 +791,7 @@
SQL_ERROR (-1) for errors or SQL_SUCCESS_WITH_INFO (1) for
informational messages.
@@ -381,7 +390,7 @@
[BUG FIXES]
-@@ -806,7 +808,7 @@
+@@ -815,7 +817,7 @@
* pod example of odbc_err_handler incorrectly used \$err_handler
instead of \&err_handler.
@@ -390,7 +399,7 @@
[BUG FIXES]
-@@ -815,7 +817,7 @@
+@@ -824,7 +826,7 @@
http://rt.cpan.org/Ticket/Display.html?id=67994). It was working
for SQL_CHAR described columns but not SQL_VARCHAR.
@@ -399,7 +408,7 @@
[BUG FIXES]
-@@ -839,19 +841,19 @@
+@@ -848,19 +850,19 @@
* TreatAsLob was incorrectly documented as BindAsLob.
@@ -422,7 +431,7 @@
[BUG FIXES]
-@@ -906,7 +908,7 @@
+@@ -915,7 +917,7 @@
* Removed some unused variables and added some missing function
prototypes
@@ -431,7 +440,7 @@
* An official release of the 1.28 development releases.
-@@ -921,7 +923,7 @@
+@@ -930,7 +932,7 @@
because SQLRowCount returns an error after "ROLLBACK TO SAVEPOINT
savepoint_0"; before this error was missed.
@@ -440,7 +449,7 @@
[BUG FIXES]
-@@ -966,7 +968,7 @@
+@@ -975,7 +977,7 @@
* Improvements in tracing to take account of DBI's neatsvpv lops 5
characters off maxsize on a string.
@@ -449,7 +458,7 @@
[BUG FIXES]
-@@ -1067,7 +1069,7 @@
+@@ -1076,7 +1078,7 @@
Official release of the 1.26 development releases.
@@ -458,7 +467,7 @@
Fixed bug highlighted by investigation into rt 62033 where the
active flag was sometimes not set on the statement after
-@@ -1083,19 +1085,19 @@
+@@ -1092,19 +1094,19 @@
Fix a possible snprintf buffer overflow in GetTypeInfo when
the type is specified and it is negative.
@@ -481,7 +490,7 @@
There are over 200 block changes in the source code for this release
from the previous one (see below). If you are using DBD::ODBC in
-@@ -1178,17 +1180,17 @@
+@@ -1187,17 +1189,17 @@
Removed dbd_caution as it was no used
Localised more variable declarations
@@ -502,7 +511,7 @@
Fixed missing SvSETMAGIC on a bound scalar which was causing length() to
return the wrong result - see http://www.perlmonks.org/?node_id=860211
-@@ -1197,13 +1199,13 @@
+@@ -1206,13 +1208,13 @@
Changed bind_col so it actually pays attention to the TYPE attribute as
you could not override the bind type of a bound column before.
@@ -518,7 +527,7 @@
Added note from Robert Freimuth for obtaining the last insert ID in MS
Access.
-@@ -1216,7 +1218,7 @@
+@@ -1225,7 +1227,7 @@
Added a FAQ entry for how "use regional settings" in MS SQL Server
breaks things.
@@ -527,7 +536,7 @@
Fix rt57957 reported by Marc Prewitt. DBD::ODBC was not ignoring named
placeholders and ? inside comments. Comments are deemed as text between
-@@ -1259,7 +1261,7 @@
+@@ -1268,7 +1270,7 @@
Added note on do method implementation in DBD::ODBC and how some may
consider it to deviate from the DBI specification.
@@ -536,7 +545,7 @@
Corrected pod and private attributes for the odbc_SQL_DRIVER_ODBC_VER
attribute which was documented as SQL_DRIVER_ODBC_VER.
-@@ -1273,14 +1275,14 @@
+@@ -1282,14 +1284,14 @@
error. Thanks to anonymous for spotting this and producing a standalone
example of the problem that made it so much easier to find.
@@ -553,7 +562,7 @@
Added advice from Jan Dubois (ActiveState) on building DBD::ODBC for
ActivePerl (see README.windows).
-@@ -1293,7 +1295,7 @@
+@@ -1302,7 +1304,7 @@
Hopefully fixed problems building on windows 32 bit platforms that have
old sql header files not mentioning SQLLEN/SQLULEN.
@@ -562,7 +571,7 @@
Added more FAQs.
-@@ -1318,7 +1320,7 @@
+@@ -1327,7 +1329,7 @@
parameter is varXXX(max) if SQLDescribeParam failed in the Microsoft
Native Client driver.
@@ -571,7 +580,7 @@
Minor changes to Makefile.PL and dbdimp.c to remove some compiler
warnings.
-@@ -1334,7 +1336,7 @@
+@@ -1343,7 +1345,7 @@
consistent wrt to case - (as someone had turned on case-sensitivity in
SQL Server) Similar changes in rt_38977.t and rt_50852.t
@@ -580,7 +589,7 @@
Fixed bug in Makefile.PL which could fail to find unixODBC/iODBC header
files but not report it as a problem. Thanks to Thomas J. Dillman and
-@@ -1347,7 +1349,7 @@
+@@ -1356,7 +1358,7 @@
ODBC Drivers which support SQLDescribeParam but describe the parameters
incorrectly (see rt 50852). Test case also added as rt_50852.t.
@@ -589,7 +598,7 @@
makefile.PL changes:
some formatting changes to output warn if unixodbc headers are not
-@@ -1381,12 +1383,12 @@
+@@ -1390,12 +1392,12 @@
PostgreSQL) which returns all strings as UTF-8 encoded unicode. Thanks
to Noel Burton-Krahn.
@@ -604,7 +613,7 @@
Fix skip count in rt_38977.t and typo in ok call.
-@@ -1430,7 +1432,7 @@
+@@ -1439,7 +1441,7 @@
driver to pull the username/password from elsewhere e.g., like the
odbc.ini file.
@@ -613,7 +622,7 @@
Applied a slightly modified version of patch from Jens Rehsack to
improve support for finding the iODBC driver manager.
-@@ -1452,7 +1454,7 @@
+@@ -1461,7 +1463,7 @@
rt_null_varchar had wrong skip count meaning non-sql-server drivers or
sql server drivers too old skipped 2 tests more than were planned.
@@ -622,7 +631,7 @@
Fixed bug which led to "Use of uninitialized value in subroutine entry"
warnings when writing a NULL into a NVARCHAR with a unicode-enabled
-@@ -1470,7 +1472,7 @@
+@@ -1479,7 +1481,7 @@
If you use a UNICODE enabled DBD::ODBC (the default on Windows) and
unicode strings larger than 64K you should definitely upgrade now.
@@ -631,7 +640,7 @@
Fixed bug referred to in rt 46597 reported by taioba and identified by
Tim Bunce. In Calls to bind_param for a given statement handle if you
-@@ -1489,7 +1491,7 @@
+@@ -1498,7 +1500,7 @@
some DBDs allow the parameter to be rebound with a different type -
DBD::ODBC is one of those drivers.
@@ -640,7 +649,7 @@
Change 02simple test to output Perl, DBI and DBD::ODBC versions.
-@@ -1503,7 +1505,7 @@
+@@ -1512,7 +1514,7 @@
Added test_results.txt containing some supplied make test results.
@@ -649,7 +658,7 @@
Fix bug in handling of SQL_WLONGVARCHAR when not built with unicode
support. The column was not identified as a long column and hence the
-@@ -1532,7 +1534,7 @@
+@@ -1541,7 +1543,7 @@
Double the buffer size used for column names if built with unicode.
@@ -658,7 +667,7 @@
Some minor diagnostic output during tests when running against freeTDS
to show we know of issues in freeTDS.
-@@ -1573,7 +1575,7 @@
+@@ -1582,7 +1584,7 @@
Added diagnostic output to 02simple.t to show the state of
odbc_has_unicode.
@@ -667,7 +676,7 @@
A mistake in the MANIFEST lead to the rt_43384.t test being omitted.
-@@ -1600,13 +1602,13 @@
+@@ -1609,13 +1611,13 @@
which was not done after testing if we are using SQL Server - this was
breaking tests to MS Access.
@@ -683,7 +692,7 @@
Fixed bug reported by Toni Salomäki leading to a describe failed error
when calling procedures with no results. Test cases added to
-@@ -1616,11 +1618,11 @@
+@@ -1625,11 +1627,11 @@
more than 127 characters into a Microsoft Access text(255) column when
DBD::ODBC is built in unicode mode.
@@ -697,7 +706,7 @@
Reinstated the answer in the FAQ for "Why do I get invalid value for
cast specification" which had got lost - thanks to EvanCarroll in
-@@ -1650,7 +1652,7 @@
+@@ -1659,7 +1661,7 @@
One of the rt tests was not skipping the correct number of tests if the
driver was not SQL Server.
@@ -706,7 +715,7 @@
Changed ParamTypes attribute to be as specification i.e.,
-@@ -1669,7 +1671,7 @@
+@@ -1678,7 +1680,7 @@
Added patch from Spicy Jack to workaround problems with Strawberry Perl
setting INC on the command line when running Makefile.PL.
@@ -715,7 +724,7 @@
Missing newline from end of META.yml upsets cpan
-@@ -1699,7 +1701,7 @@
+@@ -1708,7 +1710,7 @@
Added a test case for rt 39897.
@@ -724,7 +733,7 @@
In the absence of any bug reports since 1.16_4 this is the official 1.17
release. See below for changes since 1.16.
-@@ -1708,7 +1710,7 @@
+@@ -1717,7 +1719,7 @@
Added support for ParamTypes (see DBI spec) and notes in DBD::ODBC pod.
@@ -733,7 +742,7 @@
Small change to Makefile.PL to work around problem in darwin 8 with
iODBC which leads to "Symbol not found: _SQLGetPrivateProfileString"
-@@ -1734,7 +1736,7 @@
+@@ -1743,7 +1745,7 @@
Fixed bug in 20SqlServer.t when DBI_DSN is defined including "DSN=".
@@ -742,7 +751,7 @@
Changed Makefile.PL to add "-framework CoreFoundation" to linker line on
OSX/darwin.
-@@ -1773,7 +1775,7 @@
+@@ -1782,7 +1784,7 @@
varchar(max) column. Thanks to Julian Lishev for finding the problem and
identifying 2 possible solutions.
@@ -751,7 +760,7 @@
Removed szDummyBuffer field from imp_fbh_st and code in dbd_describe
which clears it. It was never used so this was a waste of time.
-@@ -1839,7 +1841,7 @@
+@@ -1848,7 +1850,7 @@
New odbc_out_connect_string attribute for connections which returns the
ODBC driver out connection string.
@@ -760,7 +769,7 @@
Fixed bug in odbc_cancel which was checking the ACTIVE flag was on
before calling SQLCancel. Non-select statements can also be cancelled so
-@@ -1891,7 +1893,7 @@
+@@ -1900,7 +1902,7 @@
New tests in 30Oracle.t for oracle procedures.
@@ -769,7 +778,7 @@
[TESTS]
-@@ -1996,7 +1998,7 @@
+@@ -2005,7 +2007,7 @@
execute and some drivers (SQL Server) insist a procedure is not finished
until SQLMoreResults returns SQL_NO_DATA.
@@ -778,7 +787,7 @@
1.15 final release.
-@@ -2024,7 +2026,7 @@
+@@ -2033,7 +2035,7 @@
Now if DBI::DBD is not installed we just warn and exit 0 to avoid a
cpan-testers failure.
@@ -787,7 +796,7 @@
Fix bug in DBD::ODBC's private function data_sources which was returning
data sources prefixed with "DBI:ODBC" instead of "dbi:ODBC".
-@@ -2066,7 +2068,7 @@
+@@ -2075,7 +2077,7 @@
Fix a possible typo, used once in 10handler.t.
@@ -796,7 +805,7 @@
Minor changes to 20SqlServer.t test for SQL Server 2008 (Katmai).
Timestamps now return an extra 4 digits of precision (all 0000) and the
-@@ -2129,7 +2131,7 @@
+@@ -2138,7 +2140,7 @@
Changed dual tests on SQL_SUCCESS and SQL_SUCCESS_WITH_INFO to use
SQL_SUCCEEDED.
@@ -805,7 +814,7 @@
Fix bug reported where ping crashes after disconnect thanks to Steffen
Goeldner.
-@@ -2208,7 +2210,7 @@
+@@ -2217,7 +2219,7 @@
Add some HTTP links to useful tutorials on DBD::ODBC
@@ -814,7 +823,7 @@
Fix inconsistency/bug with odbc_exec_direct vs. odbc_execdirect
settings. Now made consistent with odbc_exec_direct. For now, will
-@@ -2228,7 +2230,7 @@
+@@ -2237,7 +2239,7 @@
Fix Oracle integral/numeric output params so that warning not printed
about value not being numeric (even though it is!)
@@ -823,7 +832,7 @@
Fix bug with odbc_execdirect attributed thanks to Martin Evans
-@@ -2236,11 +2238,11 @@
+@@ -2245,11 +2247,11 @@
tests failed with setting timeout. Probably not handled by Oracle's
ODBC driver
@@ -837,7 +846,7 @@
Fixed bug in Makefile.PL.
-@@ -2250,12 +2252,12 @@
+@@ -2259,12 +2261,12 @@
Fixed bug in bind_param_inout
@@ -852,7 +861,7 @@
Added check in Makefile.PL to detect if the environment variable LANG is
Set. If so, prints a warning about potential makefile generation
-@@ -2268,7 +2270,7 @@
+@@ -2277,7 +2279,7 @@
permit them -- tested with SQL Server. Thanks to Martin Busik! See
odbc_cursortype information in the ODBC POD.
@@ -861,7 +870,7 @@
Added to Subversion version control hosted by perl.org. Thanks Robert!
See ODBC.pm POD for more information.
-@@ -2282,7 +2284,7 @@
+@@ -2291,7 +2293,7 @@
Fix for SQLForeignKeys thanks to Kevin Shepherd.
@@ -870,7 +879,7 @@
Fixed test in t/02simple.t to skip if the DSN defined by the user has
DSN= in it.
-@@ -2299,7 +2301,7 @@
+@@ -2308,7 +2310,7 @@
Updated Makefile.PL for dmake, per patch by Steffen Goldner. Thanks
Steffen!
@@ -879,7 +888,7 @@
Cleaned up Makefile.PL and added Informix support thanks to Jonathan
Leffler (see README.informix)
-@@ -2319,7 +2321,7 @@
+@@ -2328,7 +2330,7 @@
Ensured files are in Unix format, with the exception of the README type
information and Makefile.PL
@@ -888,7 +897,7 @@
It seems that case insensitive string comparison with a limit causes
problems for multiple platforms. strncmpi, strncasecmp, _strcmpin are
-@@ -2327,12 +2329,12 @@
+@@ -2336,12 +2338,12 @@
to upper case the string then do strncmp, which should be safe...sheesh.
A simple thing turned into a headache...
@@ -903,7 +912,7 @@
Fix to call finish() automatically if execute is re-called in a loop
(and test in t/02simple.t to ensure it's fixed)
-@@ -2342,11 +2344,11 @@
+@@ -2351,11 +2353,11 @@
Fixes for build under Win32 with Perl5.8.
@@ -917,7 +926,7 @@
(Please see all changes since version 0.43)
-@@ -2383,24 +2385,24 @@
+@@ -2392,24 +2394,24 @@
on systems which already have ODBC drivers in their standard include
path.
@@ -946,7 +955,7 @@
Updated for new DBIc_STATE macros (all debug, as it turned out) to be
thread safer in the long run
-@@ -2423,7 +2425,7 @@
+@@ -2432,7 +2434,7 @@
Updated the DBD::ODBC POD documentation to document DBD::ODBC private
attributes and usage.
@@ -955,7 +964,7 @@
Added support to handle (better) DBI begin_work().
-@@ -2432,7 +2434,7 @@
+@@ -2441,7 +2443,7 @@
Fix bug when connecting twice in the same script. Trying to set the
environment ODBC version twice against the same henv caused an error.
@@ -964,7 +973,7 @@
Workaround problem with iODBC where SQLAllocHandleStd is not present in
iODBC.
-@@ -2441,11 +2443,11 @@
+@@ -2450,11 +2452,11 @@
near future the change log will be removed from here and put in changes
to tidy up a bit.
@@ -978,7 +987,7 @@
Updated manifest to include more samples.
-@@ -2461,7 +2463,7 @@
+@@ -2470,7 +2472,7 @@
upgrade your driver to the latest version on Microsoft's website (MDAC
2.7 or above) http://www.microsoft.com/data
@@ -987,7 +996,7 @@
Added database specific tests to ensure things are working. Some of the
tests may not work for all people or may not be desirable. I have tried
-@@ -2472,12 +2474,12 @@
+@@ -2481,12 +2483,12 @@
SQL_API_ODBC3_ALL_FUNCTIONS. Would have caused a memory overwrite on
the stack if it was called.
@@ -1002,7 +1011,7 @@
Fixed bug in tracing code when binding an undef parameter which did not
happen to have a valid buffer with tracing level >= 2
-@@ -2493,7 +2495,7 @@
+@@ -2502,7 +2504,7 @@
Fixed SQL Server issue when binding a null and the length was set to 0
instead of 1
@@ -1011,7 +1020,7 @@
Adding support for array binding, but not finished.
-@@ -2504,11 +2506,11 @@
+@@ -2513,11 +2515,11 @@
Fixed bug where binding the empty string would cuase a problem. Fixed
and added test in t/07bind.t.
@@ -1025,7 +1034,7 @@
Added odbc_err_handler and odbc_async_exec thanks to patches by David
L. Good. See example in mytest/testerrhandler.pl
-@@ -2541,11 +2543,11 @@
+@@ -2550,11 +2552,11 @@
check it's value. If the value is 1, your ODBC driver can do
asynchronous execution. If the value is 0, your ODBC driver cannot.
@@ -1039,7 +1048,7 @@
Changes to internal timestamp type handling and test structure to ensure
tests work for all platforms. DB2 was giving me fits due to bad
-@@ -2553,12 +2555,12 @@
+@@ -2562,12 +2564,12 @@
problems and helping research solutions. This includes the
scale/precision values to correctly store full timestamps.
@@ -1054,7 +1063,7 @@
.44 was never officially released.
-@@ -2567,7 +2569,7 @@
+@@ -2576,7 +2578,7 @@
Partly moving towards defaulting to ODBC 3.x standards.
@@ -1063,7 +1072,7 @@
Fix for FoxPro (and potentially other) Drivers!!!!!
-@@ -2577,14 +2579,14 @@
+@@ -2586,14 +2588,14 @@
Fix to make all bound columns word (int) aligned in the buffer.
@@ -1080,7 +1089,7 @@
Fixed problem where SQLDescribeParam would fail (probably bug in ODBC
driver). Now reverts to SQL_VARCHAR if that happens, instead of failing
-@@ -2594,7 +2596,7 @@
+@@ -2603,7 +2605,7 @@
problem. Left the error on the test, but added warning indicating it's
a known problem.
@@ -1089,7 +1098,7 @@
Most significant change is the change in the default binding type which
forces DBD::ODBC to attempt to determine the bind type if one is not
-@@ -2608,7 +2610,7 @@
+@@ -2617,7 +2619,7 @@
this, but if someone has the problem, please let me know (and hopefully
send a patch with it).
@@ -1098,7 +1107,7 @@
See mytest/longbin.pl for demonstration of inserting and retrieving long
binary files to/from the db. Uses MD5 algorithm to verify data. Please
-@@ -2626,11 +2628,11 @@
+@@ -2635,11 +2637,11 @@
Changes to connect sequence to provide better error messages for those
using DSN-less connections.
@@ -1112,7 +1121,7 @@
Patches for get_info where return type is string. Patches thanks to
Steffen Goldner. Thanks Steffen!
-@@ -2646,12 +2648,12 @@
+@@ -2655,12 +2657,12 @@
Additionally, a random core dump occurred in the tests, based upon the
new SQLExecDirect code. This has been fixed.
@@ -1127,7 +1136,7 @@
Fixed (finally) multiple result sets with differing numbers of columns.
The final fix was to call SQLFreeStmt(SQL_UNBIND) before repreparing the
-@@ -2668,7 +2670,7 @@
+@@ -2677,7 +2679,7 @@
ensure SQLExecDirect is being called. Patches thanks to Merijn Broeren.
Thanks Merijn!
@@ -1136,7 +1145,7 @@
Further revamped tests to attempt to determine if SQLDescribeParam will
work to handle the binding types. The t/08bind.t attempts to determine
-@@ -2684,13 +2686,13 @@
+@@ -2693,13 +2695,13 @@
Support for upcoming dbi get_info.
@@ -1152,7 +1161,7 @@
Finally tested new binding techniques with SQL Server 2000, but there is
a nice little bug in their MDAC and ODBC drivers according to the
-@@ -2711,7 +2713,7 @@
+@@ -2720,7 +2722,7 @@
Please comment soon...
@@ -1161,7 +1170,7 @@
*** WARNING: ***
-@@ -2739,14 +2741,14 @@
+@@ -2748,14 +2750,14 @@
'01-JAN-1987 00:00:00'
'Does anyone insert a ?'
@@ -1178,7 +1187,7 @@
Added SAP patches to build directly against SAP driver instead of driver
manager thanks to Flemming Frandsen (thanks!)
-@@ -2755,7 +2757,7 @@
+@@ -2764,7 +2766,7 @@
please report this as soon as possible. The downside is that we need to
actually execute the dummy query.
@@ -1187,7 +1196,7 @@
Added ping patch for Solid courtesy of Marko Asplund
-@@ -2779,7 +2781,7 @@
+@@ -2788,7 +2790,7 @@
# ignores :foo, :new, etc, but not :1 or ?
$dbh->do("create or replace etc :new.D = sysdate etc");
@@ -1196,7 +1205,7 @@
Cygwin patches from Neil Lunn (untested by me). Thanks Neil!
-@@ -2848,7 +2850,7 @@
+@@ -2857,7 +2859,7 @@
Updated t/02simple.t to not print an error, when there is not one.
@@ -1205,7 +1214,7 @@
Added support for SQLSpecialColumns thanks to patch provided by Martin
J. Evans
-@@ -2856,7 +2858,7 @@
+@@ -2865,7 +2867,7 @@
Fixed bug introduced in 0.26 which was introduced of SQLMoreResults was
not supported by the driver.
@@ -1214,7 +1223,7 @@
Examined patch for ping method to repair problem reported by Chris
Bezil. Thanks Chris!
-@@ -2864,7 +2866,7 @@
+@@ -2873,7 +2875,7 @@
Added simple test for ping method working which should identify this in
the future.
@@ -1223,7 +1232,7 @@
Put in patch for returning only positive rowcounts from dbd_st_execute.
The original patch was submitted by Jon Smirl and put back in by David
-@@ -2883,7 +2885,7 @@
+@@ -2892,7 +2894,7 @@
sample for this yet. It may come in handy with threaded perl, someday
or it may work in a signal handler.
@@ -1232,7 +1241,7 @@
Added conditional compilation for SQL_WVARCHAR and SQL_WLONGVARCHAR. If
they are not defined by your driver manager, they will not be compiled
-@@ -2894,7 +2896,7 @@
+@@ -2903,7 +2905,7 @@
Added more long tests with binding in t\09bind.t. Note use of
bind_param!
@@ -1241,7 +1250,7 @@
Fixed Test #13 in 02simple.t. Would fail, improperly, if there was only
one data source defined.
-@@ -2917,14 +2919,14 @@
+@@ -2926,14 +2928,14 @@
Added some code for handling a hint on disconnect where the user gets an
error for not committing.
@@ -1258,7 +1267,7 @@
Thanks to all who provided patches!
-@@ -2974,23 +2976,23 @@
+@@ -2983,23 +2985,23 @@
Added data_sources capability via snarfing code from DBD::Adabas (Jochen
Wiedmann)
@@ -1286,7 +1295,7 @@
This release is mostly due to the good work of Jeff Urlwin. My eternal
thanks to you Jeff.
-@@ -3054,3 +3056,5 @@
+@@ -3063,3 +3065,5 @@
for the SQL Name. Again, in Oracle the SQL_LONGVARCHAR is LONG, while
in Access it's MEMO. The tests currently handle this correctly (at
least with Access and Oracle, MS SQL server will be tested also).
diff --git a/perl-DBD-ODBC.spec b/perl-DBD-ODBC.spec
index 5a5e475..4d3f271 100644
--- a/perl-DBD-ODBC.spec
+++ b/perl-DBD-ODBC.spec
@@ -1,6 +1,6 @@
Name: perl-DBD-ODBC
-Version: 1.47
-Release: 2%{?dist}
+Version: 1.48
+Release: 1%{?dist}
Summary: ODBC Driver for DBI
License: GPL+ or Artistic
Group: Development/Libraries
@@ -48,6 +48,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Thu Mar 6 2014 Jan Holcapek <holcapek at gmail.com> 1.48-1
+- Updated to upstream version 1.48.
+
* Mon Feb 24 2014 Jan Holcapek <holcapek at gmail.com> 1.47-2
- Fix formatting of Changes, which confused RPM dependency
solver find-requires.sh so that it made the RPM require 'perl(the)'
diff --git a/sources b/sources
index afbf95f..eec04e2 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
3c750cde8e39fbba804043485f18ba68 DBD-ODBC-1.45.tar.gz
d5dc91518dc4a476f98e74d8c0774947 DBD-ODBC-1.47.tar.gz
+b029f1a9a555f4c22f8d773b2d267899 DBD-ODBC-1.48.tar.gz
More information about the perl-devel
mailing list