[perl-DBD-ODBC] Updated to upstream version 1.50
Jan Holcapek
holcapek at fedoraproject.org
Mon Jul 28 12:45:57 UTC 2014
commit 2defd475b57c1ba3e0cf02157c4fbf0f2b64ae5b
Author: Jan Holcapek <holcapek at gmail.com>
Date: Mon Jul 28 14:45:05 2014 +0200
Updated to upstream version 1.50
.gitignore | 1 +
Changes.patch | 277 ++++++++++++++++++++++++++++++----------------------
perl-DBD-ODBC.spec | 5 +-
sources | 4 +-
4 files changed, 166 insertions(+), 121 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ca889e4..800915d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/DBD-ODBC-1.45.tar.gz
/DBD-ODBC-1.47.tar.gz
/DBD-ODBC-1.48.tar.gz
+/DBD-ODBC-1.50.tar.gz
diff --git a/Changes.patch b/Changes.patch
index 7ee0f30..301c215 100644
--- a/Changes.patch
+++ b/Changes.patch
@@ -1,6 +1,6 @@
---- 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 @@
+--- DBD-ODBC-1.50/Changes.orig 2014-07-28 13:11:00.377000000 +0200
++++ DBD-ODBC-1.50/Changes 2014-07-28 13:11:06.197000000 +0200
+@@ -3,16 +3,18 @@
=encoding utf8
@@ -8,12 +8,55 @@
+
DBD::ODBC::Changes - Log of significant changes to the DBD::ODBC
+-1.50 2014-07-25
++=head2 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
++=head2 1.49_4 2014-07-08
+
+ [BUG FIXES]
+
+@@ -28,7 +30,7 @@
+
+ Added a link to a better Query Notification article.
+
+-1.49_3 2014-05-01
++=head2 1.49_3 2014-05-01
+
+ [CHANGE IN BEHAVIOUR]
+
+@@ -61,14 +63,14 @@
+ I have removed the "experimental" tag for odbc_getdiaffield and odbc_getdiagrec
+ methods.
+
+-1.49_2 2014-04-26
++=head2 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
++=head2 1.49_1 2014-04-25
+
+ [BUG FIXES]
+
+@@ -86,7 +88,7 @@
+
+ Added FAQ entry of maximum number of allowed parameters.
+
-1.48 2014-03-03
+=head2 1.48 2014-03-03
[MISCELLANEOUS]
-@@ -14,7 +16,7 @@
+@@ -95,7 +97,7 @@
Forgot to remove warning from ODBC.pm that this is a development
release and unicode change when I released 1.47.
@@ -22,7 +65,7 @@
Full release of the 1.46 development releases.
-@@ -26,7 +28,7 @@
+@@ -107,7 +109,7 @@
NOTE the changes.cpanhq.com site does not yet support "unknown" for
dates.
@@ -31,7 +74,7 @@
[BUG FIXES]
-@@ -39,7 +41,7 @@
+@@ -120,7 +122,7 @@
Added test 90_trace_flag.t
@@ -40,7 +83,7 @@
[CHANGE IN BEHAVIOUR]
-@@ -72,7 +74,7 @@
+@@ -153,7 +155,7 @@
Added test 45_unicode_varchar.t for MS SQL Server only so far.
@@ -49,7 +92,7 @@
[CHANGE IN BEHAVIOUR]
-@@ -97,7 +99,7 @@
+@@ -178,7 +180,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.
@@ -58,7 +101,7 @@
[BUG FIXES]
-@@ -116,7 +118,7 @@
+@@ -197,7 +199,7 @@
Updates to the odbc_more_results pod to help clarify its use after
some confusion was seen in a perlmonks thread.
@@ -67,7 +110,7 @@
[CHANGE IN BEHAVIOUR]
-@@ -152,7 +154,7 @@
+@@ -233,7 +235,7 @@
SQLGetTypeInfo. It also issues a warning. See
http://www.postgresql.org/message-id/524EF455.6050409@ntlworld.com
@@ -76,7 +119,7 @@
[MISCELLANEOUS]
-@@ -161,7 +163,7 @@
+@@ -242,7 +244,7 @@
Fixed some compiler warnings when attempting to print/trace SvCUR.
@@ -85,7 +128,7 @@
[BUG FIXES]
-@@ -189,7 +191,7 @@
+@@ -270,7 +272,7 @@
Added 87_odbc_log_read.t test.
@@ -94,7 +137,7 @@
Moved from subversion to github as svn.perl.org is closing down.
Changed docs to show new repository.
-@@ -203,7 +205,7 @@
+@@ -284,7 +286,7 @@
probably only see this if you are using fetchall_arrayref with a
slice and setting TYPE or attributes in bind_col first.
@@ -103,7 +146,7 @@
This is a full release of all the 1.42_* development releases.
-@@ -214,20 +216,20 @@
+@@ -295,20 +297,20 @@
Minor fix to 10handler.t test suite which relied on a native error
being true instead of defined.
@@ -127,7 +170,7 @@
[ENHANCEMENTS]
-@@ -237,7 +239,7 @@
+@@ -318,7 +320,7 @@
only enable ODBC API tracing in the application which made the call
unlike the ODBC Driver Manager settings.
@@ -136,7 +179,7 @@
[MISCELLANEOUS]
-@@ -245,7 +247,7 @@
+@@ -326,7 +328,7 @@
from Dave Mitchell and posting at
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-12/msg00424.html.
@@ -145,7 +188,7 @@
[BUG FIXES]
-@@ -274,7 +276,7 @@
+@@ -355,7 +357,7 @@
New rt_81911.t test case.
@@ -154,7 +197,7 @@
[BUG FIXES]
-@@ -307,11 +309,11 @@
+@@ -388,11 +390,11 @@
RT 80446 - fix spelling mistake - thanks to Xavier Guimar.
@@ -168,7 +211,7 @@
[BUG FIXES]
-@@ -334,7 +336,7 @@
+@@ -415,7 +417,7 @@
More documentation for odbc_out_connect_string.
@@ -177,7 +220,7 @@
[BUG FIXES]
-@@ -353,7 +355,7 @@
+@@ -434,7 +436,7 @@
Added Test::NoWarnings to some tests where it was missing.
@@ -186,7 +229,7 @@
[BUG FIXES]
-@@ -379,7 +381,7 @@
+@@ -460,7 +462,7 @@
If you attempt to bind an rv without amagic DBD::ODBC will now
croak - related to rt 78838.
@@ -195,7 +238,7 @@
[BUG FIXES]
-@@ -389,7 +391,7 @@
+@@ -470,7 +472,7 @@
execute_for_fetch.pl example had not be changed since
odbc_disable_array_operations became odbc_array_operations.
@@ -204,7 +247,7 @@
[BUG FIXES]
-@@ -405,14 +407,14 @@
+@@ -486,14 +488,14 @@
Made pod.t an author test.
@@ -221,7 +264,7 @@
[BUG FIXES]
-@@ -454,13 +456,13 @@
+@@ -535,13 +537,13 @@
sql_type_cast tests rewritten due to fixes above.
@@ -237,7 +280,7 @@
[BUG FIXES]
-@@ -482,7 +484,7 @@
+@@ -563,7 +565,7 @@
* Changed ordering of some of the pod sections.
@@ -246,7 +289,7 @@
[BUG FIXES]
-@@ -554,18 +556,18 @@
+@@ -635,18 +637,18 @@
* Made the 2 unicode tests work with DB2 ODBC driver.
@@ -268,7 +311,7 @@
[BUG FIXES]
-@@ -573,7 +575,7 @@
+@@ -654,7 +656,7 @@
smoker using MS Visual C where some code come before a variable
definition.
@@ -277,7 +320,7 @@
[BUG FIXES]
-@@ -621,7 +623,7 @@
+@@ -702,7 +704,7 @@
* Add 80_odbc_diags.t based on the same file in examples
@@ -286,7 +329,7 @@
[BUG FIXES]
-@@ -629,7 +631,7 @@
+@@ -710,7 +712,7 @@
into DBI but did not set IMP_KEEP_ERR so calling them cleared
DBI's errors.
@@ -295,7 +338,7 @@
[BUG FIXES]
-@@ -651,7 +653,7 @@
+@@ -732,7 +734,7 @@
* New FAQ entries.
@@ -304,7 +347,7 @@
[BUG FIXES]
-@@ -674,19 +676,19 @@
+@@ -755,19 +757,19 @@
* Added example execute_for_fetch.pl
@@ -327,7 +370,7 @@
[ENHANCEMENTS]
-@@ -696,7 +698,7 @@
+@@ -777,7 +779,7 @@
* Change column_info to support Unicode catalog/schema/table/column
names.
@@ -336,7 +379,7 @@
[BUG FIXES]
-@@ -710,7 +712,7 @@
+@@ -791,7 +793,7 @@
* Use SQLGetTypeInfoW on unicode builds.
@@ -345,7 +388,7 @@
[BUG FIXES]
-@@ -724,7 +726,7 @@
+@@ -805,7 +807,7 @@
passed to table_info. Of course they will only reliably work with
a supporting Unicode ODBC driver.
@@ -354,7 +397,7 @@
[ENHANCEMENTS]
-@@ -743,7 +745,7 @@
+@@ -824,7 +826,7 @@
* added note saying you cannot pass unicode schema/table/column
names to metadata calls like table_info/column_info currently.
@@ -363,7 +406,7 @@
[BUG FIXES]
-@@ -759,7 +761,7 @@
+@@ -840,7 +842,7 @@
* Added unicode_sql.pl and unicode_params.pl examples
@@ -372,7 +415,7 @@
[BUG FIXES]
-@@ -769,7 +771,7 @@
+@@ -850,7 +852,7 @@
Minor change to Makefile.PL to avoid use of unitialised warning on
$ENV{LD_LIBRARY_PATH} in warning when it is not set.
@@ -381,7 +424,7 @@
[BUG FIXES]
-@@ -789,7 +791,7 @@
+@@ -870,7 +872,7 @@
SQL_ERROR (-1) for errors or SQL_SUCCESS_WITH_INFO (1) for
informational messages.
@@ -390,7 +433,7 @@
[BUG FIXES]
-@@ -815,7 +817,7 @@
+@@ -896,7 +898,7 @@
* pod example of odbc_err_handler incorrectly used \$err_handler
instead of \&err_handler.
@@ -399,7 +442,7 @@
[BUG FIXES]
-@@ -824,7 +826,7 @@
+@@ -905,7 +907,7 @@
http://rt.cpan.org/Ticket/Display.html?id=67994). It was working
for SQL_CHAR described columns but not SQL_VARCHAR.
@@ -408,7 +451,7 @@
[BUG FIXES]
-@@ -848,19 +850,19 @@
+@@ -929,19 +931,19 @@
* TreatAsLob was incorrectly documented as BindAsLob.
@@ -431,7 +474,7 @@
[BUG FIXES]
-@@ -915,7 +917,7 @@
+@@ -996,7 +998,7 @@
* Removed some unused variables and added some missing function
prototypes
@@ -440,7 +483,7 @@
* An official release of the 1.28 development releases.
-@@ -930,7 +932,7 @@
+@@ -1011,7 +1013,7 @@
because SQLRowCount returns an error after "ROLLBACK TO SAVEPOINT
savepoint_0"; before this error was missed.
@@ -449,7 +492,7 @@
[BUG FIXES]
-@@ -975,7 +977,7 @@
+@@ -1056,7 +1058,7 @@
* Improvements in tracing to take account of DBI's neatsvpv lops 5
characters off maxsize on a string.
@@ -458,7 +501,7 @@
[BUG FIXES]
-@@ -1076,7 +1078,7 @@
+@@ -1157,7 +1159,7 @@
Official release of the 1.26 development releases.
@@ -467,7 +510,7 @@
Fixed bug highlighted by investigation into rt 62033 where the
active flag was sometimes not set on the statement after
-@@ -1092,19 +1094,19 @@
+@@ -1173,19 +1175,19 @@
Fix a possible snprintf buffer overflow in GetTypeInfo when
the type is specified and it is negative.
@@ -490,7 +533,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
-@@ -1187,17 +1189,17 @@
+@@ -1268,17 +1270,17 @@
Removed dbd_caution as it was no used
Localised more variable declarations
@@ -511,7 +554,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
-@@ -1206,13 +1208,13 @@
+@@ -1287,13 +1289,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.
@@ -527,7 +570,7 @@
Added note from Robert Freimuth for obtaining the last insert ID in MS
Access.
-@@ -1225,7 +1227,7 @@
+@@ -1306,7 +1308,7 @@
Added a FAQ entry for how "use regional settings" in MS SQL Server
breaks things.
@@ -536,7 +579,7 @@
Fix rt57957 reported by Marc Prewitt. DBD::ODBC was not ignoring named
placeholders and ? inside comments. Comments are deemed as text between
-@@ -1268,7 +1270,7 @@
+@@ -1349,7 +1351,7 @@
Added note on do method implementation in DBD::ODBC and how some may
consider it to deviate from the DBI specification.
@@ -545,7 +588,7 @@
Corrected pod and private attributes for the odbc_SQL_DRIVER_ODBC_VER
attribute which was documented as SQL_DRIVER_ODBC_VER.
-@@ -1282,14 +1284,14 @@
+@@ -1363,14 +1365,14 @@
error. Thanks to anonymous for spotting this and producing a standalone
example of the problem that made it so much easier to find.
@@ -562,7 +605,7 @@
Added advice from Jan Dubois (ActiveState) on building DBD::ODBC for
ActivePerl (see README.windows).
-@@ -1302,7 +1304,7 @@
+@@ -1383,7 +1385,7 @@
Hopefully fixed problems building on windows 32 bit platforms that have
old sql header files not mentioning SQLLEN/SQLULEN.
@@ -571,7 +614,7 @@
Added more FAQs.
-@@ -1327,7 +1329,7 @@
+@@ -1408,7 +1410,7 @@
parameter is varXXX(max) if SQLDescribeParam failed in the Microsoft
Native Client driver.
@@ -580,7 +623,7 @@
Minor changes to Makefile.PL and dbdimp.c to remove some compiler
warnings.
-@@ -1343,7 +1345,7 @@
+@@ -1424,7 +1426,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
@@ -589,7 +632,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
-@@ -1356,7 +1358,7 @@
+@@ -1437,7 +1439,7 @@
ODBC Drivers which support SQLDescribeParam but describe the parameters
incorrectly (see rt 50852). Test case also added as rt_50852.t.
@@ -598,7 +641,7 @@
makefile.PL changes:
some formatting changes to output warn if unixodbc headers are not
-@@ -1390,12 +1392,12 @@
+@@ -1471,12 +1473,12 @@
PostgreSQL) which returns all strings as UTF-8 encoded unicode. Thanks
to Noel Burton-Krahn.
@@ -613,7 +656,7 @@
Fix skip count in rt_38977.t and typo in ok call.
-@@ -1439,7 +1441,7 @@
+@@ -1520,7 +1522,7 @@
driver to pull the username/password from elsewhere e.g., like the
odbc.ini file.
@@ -622,7 +665,7 @@
Applied a slightly modified version of patch from Jens Rehsack to
improve support for finding the iODBC driver manager.
-@@ -1461,7 +1463,7 @@
+@@ -1542,7 +1544,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.
@@ -631,7 +674,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
-@@ -1479,7 +1481,7 @@
+@@ -1560,7 +1562,7 @@
If you use a UNICODE enabled DBD::ODBC (the default on Windows) and
unicode strings larger than 64K you should definitely upgrade now.
@@ -640,7 +683,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
-@@ -1498,7 +1500,7 @@
+@@ -1579,7 +1581,7 @@
some DBDs allow the parameter to be rebound with a different type -
DBD::ODBC is one of those drivers.
@@ -649,7 +692,7 @@
Change 02simple test to output Perl, DBI and DBD::ODBC versions.
-@@ -1512,7 +1514,7 @@
+@@ -1593,7 +1595,7 @@
Added test_results.txt containing some supplied make test results.
@@ -658,7 +701,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
-@@ -1541,7 +1543,7 @@
+@@ -1622,7 +1624,7 @@
Double the buffer size used for column names if built with unicode.
@@ -667,7 +710,7 @@
Some minor diagnostic output during tests when running against freeTDS
to show we know of issues in freeTDS.
-@@ -1582,7 +1584,7 @@
+@@ -1663,7 +1665,7 @@
Added diagnostic output to 02simple.t to show the state of
odbc_has_unicode.
@@ -676,7 +719,7 @@
A mistake in the MANIFEST lead to the rt_43384.t test being omitted.
-@@ -1609,13 +1611,13 @@
+@@ -1690,13 +1692,13 @@
which was not done after testing if we are using SQL Server - this was
breaking tests to MS Access.
@@ -692,7 +735,7 @@
Fixed bug reported by Toni Salomäki leading to a describe failed error
when calling procedures with no results. Test cases added to
-@@ -1625,11 +1627,11 @@
+@@ -1706,11 +1708,11 @@
more than 127 characters into a Microsoft Access text(255) column when
DBD::ODBC is built in unicode mode.
@@ -706,7 +749,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
-@@ -1659,7 +1661,7 @@
+@@ -1740,7 +1742,7 @@
One of the rt tests was not skipping the correct number of tests if the
driver was not SQL Server.
@@ -715,7 +758,7 @@
Changed ParamTypes attribute to be as specification i.e.,
-@@ -1678,7 +1680,7 @@
+@@ -1759,7 +1761,7 @@
Added patch from Spicy Jack to workaround problems with Strawberry Perl
setting INC on the command line when running Makefile.PL.
@@ -724,7 +767,7 @@
Missing newline from end of META.yml upsets cpan
-@@ -1708,7 +1710,7 @@
+@@ -1789,7 +1791,7 @@
Added a test case for rt 39897.
@@ -733,7 +776,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.
-@@ -1717,7 +1719,7 @@
+@@ -1798,7 +1800,7 @@
Added support for ParamTypes (see DBI spec) and notes in DBD::ODBC pod.
@@ -742,7 +785,7 @@
Small change to Makefile.PL to work around problem in darwin 8 with
iODBC which leads to "Symbol not found: _SQLGetPrivateProfileString"
-@@ -1743,7 +1745,7 @@
+@@ -1824,7 +1826,7 @@
Fixed bug in 20SqlServer.t when DBI_DSN is defined including "DSN=".
@@ -751,7 +794,7 @@
Changed Makefile.PL to add "-framework CoreFoundation" to linker line on
OSX/darwin.
-@@ -1782,7 +1784,7 @@
+@@ -1863,7 +1865,7 @@
varchar(max) column. Thanks to Julian Lishev for finding the problem and
identifying 2 possible solutions.
@@ -760,7 +803,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.
-@@ -1848,7 +1850,7 @@
+@@ -1929,7 +1931,7 @@
New odbc_out_connect_string attribute for connections which returns the
ODBC driver out connection string.
@@ -769,7 +812,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
-@@ -1900,7 +1902,7 @@
+@@ -1981,7 +1983,7 @@
New tests in 30Oracle.t for oracle procedures.
@@ -778,7 +821,7 @@
[TESTS]
-@@ -2005,7 +2007,7 @@
+@@ -2086,7 +2088,7 @@
execute and some drivers (SQL Server) insist a procedure is not finished
until SQLMoreResults returns SQL_NO_DATA.
@@ -787,7 +830,7 @@
1.15 final release.
-@@ -2033,7 +2035,7 @@
+@@ -2114,7 +2116,7 @@
Now if DBI::DBD is not installed we just warn and exit 0 to avoid a
cpan-testers failure.
@@ -796,7 +839,7 @@
Fix bug in DBD::ODBC's private function data_sources which was returning
data sources prefixed with "DBI:ODBC" instead of "dbi:ODBC".
-@@ -2075,7 +2077,7 @@
+@@ -2156,7 +2158,7 @@
Fix a possible typo, used once in 10handler.t.
@@ -805,7 +848,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
-@@ -2138,7 +2140,7 @@
+@@ -2219,7 +2221,7 @@
Changed dual tests on SQL_SUCCESS and SQL_SUCCESS_WITH_INFO to use
SQL_SUCCEEDED.
@@ -814,7 +857,7 @@
Fix bug reported where ping crashes after disconnect thanks to Steffen
Goeldner.
-@@ -2217,7 +2219,7 @@
+@@ -2298,7 +2300,7 @@
Add some HTTP links to useful tutorials on DBD::ODBC
@@ -823,7 +866,7 @@
Fix inconsistency/bug with odbc_exec_direct vs. odbc_execdirect
settings. Now made consistent with odbc_exec_direct. For now, will
-@@ -2237,7 +2239,7 @@
+@@ -2318,7 +2320,7 @@
Fix Oracle integral/numeric output params so that warning not printed
about value not being numeric (even though it is!)
@@ -832,7 +875,7 @@
Fix bug with odbc_execdirect attributed thanks to Martin Evans
-@@ -2245,11 +2247,11 @@
+@@ -2326,11 +2328,11 @@
tests failed with setting timeout. Probably not handled by Oracle's
ODBC driver
@@ -846,7 +889,7 @@
Fixed bug in Makefile.PL.
-@@ -2259,12 +2261,12 @@
+@@ -2340,12 +2342,12 @@
Fixed bug in bind_param_inout
@@ -861,7 +904,7 @@
Added check in Makefile.PL to detect if the environment variable LANG is
Set. If so, prints a warning about potential makefile generation
-@@ -2277,7 +2279,7 @@
+@@ -2358,7 +2360,7 @@
permit them -- tested with SQL Server. Thanks to Martin Busik! See
odbc_cursortype information in the ODBC POD.
@@ -870,7 +913,7 @@
Added to Subversion version control hosted by perl.org. Thanks Robert!
See ODBC.pm POD for more information.
-@@ -2291,7 +2293,7 @@
+@@ -2372,7 +2374,7 @@
Fix for SQLForeignKeys thanks to Kevin Shepherd.
@@ -879,7 +922,7 @@
Fixed test in t/02simple.t to skip if the DSN defined by the user has
DSN= in it.
-@@ -2308,7 +2310,7 @@
+@@ -2389,7 +2391,7 @@
Updated Makefile.PL for dmake, per patch by Steffen Goldner. Thanks
Steffen!
@@ -888,7 +931,7 @@
Cleaned up Makefile.PL and added Informix support thanks to Jonathan
Leffler (see README.informix)
-@@ -2328,7 +2330,7 @@
+@@ -2409,7 +2411,7 @@
Ensured files are in Unix format, with the exception of the README type
information and Makefile.PL
@@ -897,7 +940,7 @@
It seems that case insensitive string comparison with a limit causes
problems for multiple platforms. strncmpi, strncasecmp, _strcmpin are
-@@ -2336,12 +2338,12 @@
+@@ -2417,12 +2419,12 @@
to upper case the string then do strncmp, which should be safe...sheesh.
A simple thing turned into a headache...
@@ -912,7 +955,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)
-@@ -2351,11 +2353,11 @@
+@@ -2432,11 +2434,11 @@
Fixes for build under Win32 with Perl5.8.
@@ -926,7 +969,7 @@
(Please see all changes since version 0.43)
-@@ -2392,24 +2394,24 @@
+@@ -2473,24 +2475,24 @@
on systems which already have ODBC drivers in their standard include
path.
@@ -955,7 +998,7 @@
Updated for new DBIc_STATE macros (all debug, as it turned out) to be
thread safer in the long run
-@@ -2432,7 +2434,7 @@
+@@ -2513,7 +2515,7 @@
Updated the DBD::ODBC POD documentation to document DBD::ODBC private
attributes and usage.
@@ -964,7 +1007,7 @@
Added support to handle (better) DBI begin_work().
-@@ -2441,7 +2443,7 @@
+@@ -2522,7 +2524,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.
@@ -973,7 +1016,7 @@
Workaround problem with iODBC where SQLAllocHandleStd is not present in
iODBC.
-@@ -2450,11 +2452,11 @@
+@@ -2531,11 +2533,11 @@
near future the change log will be removed from here and put in changes
to tidy up a bit.
@@ -987,7 +1030,7 @@
Updated manifest to include more samples.
-@@ -2470,7 +2472,7 @@
+@@ -2551,7 +2553,7 @@
upgrade your driver to the latest version on Microsoft's website (MDAC
2.7 or above) http://www.microsoft.com/data
@@ -996,7 +1039,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
-@@ -2481,12 +2483,12 @@
+@@ -2562,12 +2564,12 @@
SQL_API_ODBC3_ALL_FUNCTIONS. Would have caused a memory overwrite on
the stack if it was called.
@@ -1011,7 +1054,7 @@
Fixed bug in tracing code when binding an undef parameter which did not
happen to have a valid buffer with tracing level >= 2
-@@ -2502,7 +2504,7 @@
+@@ -2583,7 +2585,7 @@
Fixed SQL Server issue when binding a null and the length was set to 0
instead of 1
@@ -1020,7 +1063,7 @@
Adding support for array binding, but not finished.
-@@ -2513,11 +2515,11 @@
+@@ -2594,11 +2596,11 @@
Fixed bug where binding the empty string would cuase a problem. Fixed
and added test in t/07bind.t.
@@ -1034,7 +1077,7 @@
Added odbc_err_handler and odbc_async_exec thanks to patches by David
L. Good. See example in mytest/testerrhandler.pl
-@@ -2550,11 +2552,11 @@
+@@ -2631,11 +2633,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.
@@ -1048,7 +1091,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
-@@ -2562,12 +2564,12 @@
+@@ -2643,12 +2645,12 @@
problems and helping research solutions. This includes the
scale/precision values to correctly store full timestamps.
@@ -1063,7 +1106,7 @@
.44 was never officially released.
-@@ -2576,7 +2578,7 @@
+@@ -2657,7 +2659,7 @@
Partly moving towards defaulting to ODBC 3.x standards.
@@ -1072,7 +1115,7 @@
Fix for FoxPro (and potentially other) Drivers!!!!!
-@@ -2586,14 +2588,14 @@
+@@ -2667,14 +2669,14 @@
Fix to make all bound columns word (int) aligned in the buffer.
@@ -1089,7 +1132,7 @@
Fixed problem where SQLDescribeParam would fail (probably bug in ODBC
driver). Now reverts to SQL_VARCHAR if that happens, instead of failing
-@@ -2603,7 +2605,7 @@
+@@ -2684,7 +2686,7 @@
problem. Left the error on the test, but added warning indicating it's
a known problem.
@@ -1098,7 +1141,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
-@@ -2617,7 +2619,7 @@
+@@ -2698,7 +2700,7 @@
this, but if someone has the problem, please let me know (and hopefully
send a patch with it).
@@ -1107,7 +1150,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
-@@ -2635,11 +2637,11 @@
+@@ -2716,11 +2718,11 @@
Changes to connect sequence to provide better error messages for those
using DSN-less connections.
@@ -1121,7 +1164,7 @@
Patches for get_info where return type is string. Patches thanks to
Steffen Goldner. Thanks Steffen!
-@@ -2655,12 +2657,12 @@
+@@ -2736,12 +2738,12 @@
Additionally, a random core dump occurred in the tests, based upon the
new SQLExecDirect code. This has been fixed.
@@ -1136,7 +1179,7 @@
Fixed (finally) multiple result sets with differing numbers of columns.
The final fix was to call SQLFreeStmt(SQL_UNBIND) before repreparing the
-@@ -2677,7 +2679,7 @@
+@@ -2758,7 +2760,7 @@
ensure SQLExecDirect is being called. Patches thanks to Merijn Broeren.
Thanks Merijn!
@@ -1145,7 +1188,7 @@
Further revamped tests to attempt to determine if SQLDescribeParam will
work to handle the binding types. The t/08bind.t attempts to determine
-@@ -2693,13 +2695,13 @@
+@@ -2774,13 +2776,13 @@
Support for upcoming dbi get_info.
@@ -1161,7 +1204,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
-@@ -2720,7 +2722,7 @@
+@@ -2801,7 +2803,7 @@
Please comment soon...
@@ -1170,7 +1213,7 @@
*** WARNING: ***
-@@ -2748,14 +2750,14 @@
+@@ -2829,14 +2831,14 @@
'01-JAN-1987 00:00:00'
'Does anyone insert a ?'
@@ -1187,7 +1230,7 @@
Added SAP patches to build directly against SAP driver instead of driver
manager thanks to Flemming Frandsen (thanks!)
-@@ -2764,7 +2766,7 @@
+@@ -2845,7 +2847,7 @@
please report this as soon as possible. The downside is that we need to
actually execute the dummy query.
@@ -1196,7 +1239,7 @@
Added ping patch for Solid courtesy of Marko Asplund
-@@ -2788,7 +2790,7 @@
+@@ -2869,7 +2871,7 @@
# ignores :foo, :new, etc, but not :1 or ?
$dbh->do("create or replace etc :new.D = sysdate etc");
@@ -1205,7 +1248,7 @@
Cygwin patches from Neil Lunn (untested by me). Thanks Neil!
-@@ -2857,7 +2859,7 @@
+@@ -2938,7 +2940,7 @@
Updated t/02simple.t to not print an error, when there is not one.
@@ -1214,7 +1257,7 @@
Added support for SQLSpecialColumns thanks to patch provided by Martin
J. Evans
-@@ -2865,7 +2867,7 @@
+@@ -2946,7 +2948,7 @@
Fixed bug introduced in 0.26 which was introduced of SQLMoreResults was
not supported by the driver.
@@ -1223,7 +1266,7 @@
Examined patch for ping method to repair problem reported by Chris
Bezil. Thanks Chris!
-@@ -2873,7 +2875,7 @@
+@@ -2954,7 +2956,7 @@
Added simple test for ping method working which should identify this in
the future.
@@ -1232,7 +1275,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
-@@ -2892,7 +2894,7 @@
+@@ -2973,7 +2975,7 @@
sample for this yet. It may come in handy with threaded perl, someday
or it may work in a signal handler.
@@ -1241,7 +1284,7 @@
Added conditional compilation for SQL_WVARCHAR and SQL_WLONGVARCHAR. If
they are not defined by your driver manager, they will not be compiled
-@@ -2903,7 +2905,7 @@
+@@ -2984,7 +2986,7 @@
Added more long tests with binding in t\09bind.t. Note use of
bind_param!
@@ -1250,7 +1293,7 @@
Fixed Test #13 in 02simple.t. Would fail, improperly, if there was only
one data source defined.
-@@ -2926,14 +2928,14 @@
+@@ -3007,14 +3009,14 @@
Added some code for handling a hint on disconnect where the user gets an
error for not committing.
@@ -1267,7 +1310,7 @@
Thanks to all who provided patches!
-@@ -2983,23 +2985,23 @@
+@@ -3064,23 +3066,23 @@
Added data_sources capability via snarfing code from DBD::Adabas (Jochen
Wiedmann)
@@ -1295,7 +1338,7 @@
This release is mostly due to the good work of Jeff Urlwin. My eternal
thanks to you Jeff.
-@@ -3063,3 +3065,5 @@
+@@ -3144,3 +3146,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 d783d2d..731c34e 100644
--- a/perl-DBD-ODBC.spec
+++ b/perl-DBD-ODBC.spec
@@ -1,5 +1,5 @@
Name: perl-DBD-ODBC
-Version: 1.48
+Version: 1.50
Release: 2%{?dist}
Summary: ODBC Driver for DBI
License: GPL+ or Artistic
@@ -48,6 +48,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Jul 28 2014 Jan Holcapek <holcapek at gmail.com> 1.50-1
+- Updated to upstream version 1.50.
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.48-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index eec04e2..e788623 100644
--- a/sources
+++ b/sources
@@ -1,3 +1 @@
-3c750cde8e39fbba804043485f18ba68 DBD-ODBC-1.45.tar.gz
-d5dc91518dc4a476f98e74d8c0774947 DBD-ODBC-1.47.tar.gz
-b029f1a9a555f4c22f8d773b2d267899 DBD-ODBC-1.48.tar.gz
+a380049dadb9b1eebf7dfaa99b1d82de DBD-ODBC-1.50.tar.gz
More information about the perl-devel
mailing list