>From bd684a2e61f017782e17b23c0ec7a738b5b9876e Mon Sep 17 00:00:00 2001 From: Jan Holcapek <holcapek@xxxxxxxxx> Date: Wed, 22 Apr 2015 22:52:39 +0200 Subject: Updated to upstream version 1.52 diff --git a/.gitignore b/.gitignore index 800915d..6f01fd9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /DBD-ODBC-1.47.tar.gz /DBD-ODBC-1.48.tar.gz /DBD-ODBC-1.50.tar.gz +/DBD-ODBC-1.52.tar.gz diff --git a/Changes.patch b/Changes.patch index 301c215..e79d665 100644 --- a/Changes.patch +++ b/Changes.patch @@ -1,5 +1,5 @@ ---- 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 +--- DBD-ODBC-1.52/Changes.orig 2015-04-20 23:14:38.242607555 +0200 ++++ DBD-ODBC-1.52/Changes 2015-04-20 23:17:29.274020516 +0200 @@ -3,16 +3,18 @@ =encoding utf8 @@ -8,1339 +8,77 @@ + 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 +-1.52 2015-04-15 ++=head2 1.52 2015-04-15 [MISCELLANEOUS] -@@ -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. + Changes to the test suite to make it run better with Postgres thanks + to Greg Sabino Mullane. --1.47 2014-02-19 -+=head2 1.47 2014-02-19 - - Full release of the 1.46 development releases. - -@@ -107,7 +109,7 @@ - NOTE the changes.cpanhq.com site does not yet support "unknown" for - dates. - --1.46_2 2013-12-17 -+=head2 1.46_2 2013-12-17 +-1.51_4 2015-01-18 ++=head2 1.51_4 2015-01-18 [BUG FIXES] -@@ -120,7 +122,7 @@ - - Added test 90_trace_flag.t - --1.46_1 2013-11-16 -+=head2 1.46_1 2013-11-16 - - [CHANGE IN BEHAVIOUR] - -@@ -153,7 +155,7 @@ - - Added test 45_unicode_varchar.t for MS SQL Server only so far. - --1.45 2013-10-28 -+=head2 1.45 2013-10-28 - - [CHANGE IN BEHAVIOUR] - -@@ -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. +@@ -24,7 +26,7 @@ + Try and make the test suite run ok for SQLite ODBC driver so I can use it + in travis-ci. --1.44_4 2013-10-16 -+=head2 1.44_4 2013-10-16 +-1.51_3 2015-01-17 ++=head2 1.51_3 2015-01-17 [BUG FIXES] -@@ -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. +@@ -33,7 +35,7 @@ + with "string data, right truncation" on the second and subsequent + calls to execute. Thanks to Laura Cox for finding. --1.44_3 2013-10-11 -+=head2 1.44_3 2013-10-11 - - [CHANGE IN BEHAVIOUR] - -@@ -233,7 +235,7 @@ - SQLGetTypeInfo. It also issues a warning. See - http://www.postgresql.org/message-id/524EF455.6050409@xxxxxxxxxxxx - --1.44_3 2013-10-11 -+=head2 1.44_3 2013-10-11 - - [MISCELLANEOUS] - -@@ -242,7 +244,7 @@ - - Fixed some compiler warnings when attempting to print/trace SvCUR. - --1.44_2 2013-09-07 -+=head2 1.44_2 2013-09-07 +-1.51_2 2014-11-19 ++=head2 1.51_2 2014-11-19 [BUG FIXES] -@@ -270,7 +272,7 @@ - - Added 87_odbc_log_read.t test. - --1.44_1 2013-06-06 -+=head2 1.44_1 2013-06-06 - - Moved from subversion to github as svn.perl.org is closing down. - Changed docs to show new repository. -@@ -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. - --1.43 2013-03-06 -+=head2 1.43 2013-03-06 - - This is a full release of all the 1.42_* development releases. - -@@ -295,20 +297,20 @@ - Minor fix to 10handler.t test suite which relied on a native error - being true instead of defined. +@@ -41,7 +43,7 @@ + the table name for the type argument. I think this bug was + introduced last year. --1.42_5 2013-01-25 -+=head2 1.42_5 2013-01-25 +-1.51_1 2014-11-14 ++=head2 1.51_1 2014-11-14 [BUG FIXES] - Not all modules used in test code were specified in build_requires. +@@ -49,14 +51,14 @@ + client. Identify "libmsodbcsql*" as the MS ODBC Driver for Linux as + there are some specific workarounds for MS Native Client ODBC driver. --1.42_4 2013-01-21 -+=head2 1.42_4 2013-01-21 - - [ENHANCEMENTS] - - odbc_trace and odbc_trace_file are now full connection attributes - so you can set them any time you like, not just in connect. - --1.42_3 2013-01-17 -+=head2 1.42_3 2013-01-17 - - [ENHANCEMENTS] - -@@ -318,7 +320,7 @@ - only enable ODBC API tracing in the application which made the call - unlike the ODBC Driver Manager settings. - --1.42_2 2012-12-17 -+=head2 1.42_2 2012-12-17 - - [MISCELLANEOUS] - -@@ -326,7 +328,7 @@ - from Dave Mitchell and posting at - http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-12/msg00424.html. - --1.42_1 2012-12-12 -+=head2 1.42_1 2012-12-12 - - [BUG FIXES] - -@@ -355,7 +357,7 @@ - - New rt_81911.t test case. - --1.42_0 2012-11-28 -+=head2 1.42_0 2012-11-28 - - [BUG FIXES] - -@@ -388,11 +390,11 @@ - - RT 80446 - fix spelling mistake - thanks to Xavier Guimar. - --1.41 2012-10-23 -+=head2 1.41 2012-10-23 - - A full release of the 1.40 development release series. - --1.40_3 2012-10-08 -+=head2 1.40_3 2012-10-08 - - [BUG FIXES] - -@@ -415,7 +417,7 @@ - - More documentation for odbc_out_connect_string. - --1.40_2 2012-09-06 -+=head2 1.40_2 2012-09-06 - - [BUG FIXES] - -@@ -434,7 +436,7 @@ - - Added Test::NoWarnings to some tests where it was missing. - --1.40_1 2012-09-04 -+=head2 1.40_1 2012-09-04 - - [BUG FIXES] - -@@ -460,7 +462,7 @@ - If you attempt to bind an rv without amagic DBD::ODBC will now - croak - related to rt 78838. - --1.39 2012-07-07 -+=head2 1.39 2012-07-07 - - [BUG FIXES] - -@@ -470,7 +472,7 @@ - execute_for_fetch.pl example had not be changed since - odbc_disable_array_operations became odbc_array_operations. - --1.38_3 2012-06-25 -+=head2 1.38_3 2012-06-25 - - [BUG FIXES] - -@@ -486,14 +488,14 @@ - - Made pod.t an author test. - --1.38_2 2012-05-24 -+=head2 1.38_2 2012-05-24 - - [ENHANCEMENTS] - - Added support for Oracle TAF (assuming your ODBC driver supports it) - - see odbc_taf_callback. - --1.38_1 2012-05-19 -+=head2 1.38_1 2012-05-19 - - [BUG FIXES] - -@@ -535,13 +537,13 @@ - - sql_type_cast tests rewritten due to fixes above. - --1.37 2012-04-07 -+=head2 1.37 2012-04-07 - - A full release of the 1.36 dev releases. - - Please note the changes in behaviour below. - --1.36_2 2012-03-31 -+=head2 1.36_2 2012-03-31 - - [BUG FIXES] - -@@ -563,7 +565,7 @@ - - * Changed ordering of some of the pod sections. - --1.36_1 2012-03-21 -+=head2 1.36_1 2012-03-21 - - [BUG FIXES] - -@@ -635,18 +637,18 @@ - - * Made the 2 unicode tests work with DB2 ODBC driver. - --1.35 2012-03-06 -+=head2 1.35 2012-03-06 - - Full release of the 1.34 development releases - --1.34_7 2012-03-02 -+=head2 1.34_7 2012-03-02 - - [BUG FIXES] - - * Fixed more compiler errors highlighed by a smoker using MS Visual - C where some code come before a variable definition. - --1.34_6 2012-02-27 -+=head2 1.34_6 2012-02-27 - - [BUG FIXES] - -@@ -654,7 +656,7 @@ - smoker using MS Visual C where some code come before a variable - definition. - --1.34_5 2012-02-17 -+=head2 1.34_5 2012-02-17 - - [BUG FIXES] - -@@ -702,7 +704,7 @@ - - * Add 80_odbc_diags.t based on the same file in examples - --1.34_4 2012-02-05 -+=head2 1.34_4 2012-02-05 - - [BUG FIXES] - -@@ -710,7 +712,7 @@ - into DBI but did not set IMP_KEEP_ERR so calling them cleared - DBI's errors. - --1.34_3 2012-02-03 -+=head2 1.34_3 2012-02-03 - - [BUG FIXES] - -@@ -732,7 +734,7 @@ - - * New FAQ entries. - --1.34_2 2012-01-25 -+=head2 1.34_2 2012-01-25 - - [BUG FIXES] - -@@ -755,19 +757,19 @@ - - * Added example execute_for_fetch.pl - --1.34_1 2011-12-11 -+=head2 1.34_1 2011-12-11 - - [ENHANCEMENTS] - - * Added experimental execute_for_fetch support and associated - attributes odbc_batch_size and odbc_disable_array_operations. - --1.33 2011-12-01 -+=head2 1.33 2011-12-01 - - This is simply the official release of the 1.32 development - releases. - --1.32_5 2011-11-24 -+=head2 1.32_5 2011-11-24 - - [ENHANCEMENTS] - -@@ -777,7 +779,7 @@ - * Change column_info to support Unicode catalog/schema/table/column - names. - --1.32_4 2011-11-22 -+=head2 1.32_4 2011-11-22 - - [BUG FIXES] - -@@ -791,7 +793,7 @@ - - * Use SQLGetTypeInfoW on unicode builds. - --1.32_3 2011-11-15 -+=head2 1.32_3 2011-11-15 - - [BUG FIXES] - -@@ -805,7 +807,7 @@ - passed to table_info. Of course they will only reliably work with - a supporting Unicode ODBC driver. - --1.32_2 2011-10-22 -+=head2 1.32_2 2011-10-22 - - [ENHANCEMENTS] - -@@ -824,7 +826,7 @@ - * added note saying you cannot pass unicode schema/table/column - names to metadata calls like table_info/column_info currently. - --1.32_1 2011-06-24 -+=head2 1.32_1 2011-06-24 - - [BUG FIXES] - -@@ -840,7 +842,7 @@ - - * Added unicode_sql.pl and unicode_params.pl examples - --1.31 2011-06-21 -+=head2 1.31 2011-06-21 - - [BUG FIXES] - -@@ -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. - --1.30_7 2011-06-15 -+=head2 1.30_7 2011-06-15 - - [BUG FIXES] - -@@ -870,7 +872,7 @@ - SQL_ERROR (-1) for errors or SQL_SUCCESS_WITH_INFO (1) for - informational messages. - --1.30_6 2011-06-04 -+=head2 1.30_6 2011-06-04 - - [BUG FIXES] - -@@ -896,7 +898,7 @@ - * pod example of odbc_err_handler incorrectly used \$err_handler - instead of \&err_handler. - --1.30_5 2011-05-24 -+=head2 1.30_5 2011-05-24 - - [BUG FIXES] - -@@ -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. - --1.30_4 2011-05-18 -+=head2 1.30_4 2011-05-18 - - [BUG FIXES] - -@@ -929,19 +931,19 @@ - - * TreatAsLob was incorrectly documented as BindAsLob. - --1.30_3 2011-05-17 -+=head2 1.30_3 2011-05-17 +-1.50 2014-07-25 ++=head2 1.50 2014-07-25 [BUG FIXES] - * Made the new odbc_describe_parameters work and added test case. - --1.30_2 2011-05-16 -+=head2 1.30_2 2011-05-16 - - [ENHANCEMENTS] - - * Added the new odbc_describe_parameters attribute. + 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.30_1 2011-05-12 -+=head2 1.30_1 2011-05-12 +-1.49_4 2014-07-08 ++=head2 1.49_4 2014-07-08 [BUG FIXES] -@@ -996,7 +998,7 @@ - * Removed some unused variables and added some missing function - prototypes - --1.29 2011-03-08 -+=head2 1.29 2011-03-08 - - * An official release of the 1.28 development releases. - -@@ -1011,7 +1013,7 @@ - because SQLRowCount returns an error after "ROLLBACK TO SAVEPOINT - savepoint_0"; before this error was missed. +@@ -105,14 +107,14 @@ + I have removed the "experimental" tag for odbc_getdiagfield and odbc_getdiagrec + methods. --1.28_5 2011-03-06 -+=head2 1.28_5 2011-03-06 +-1.49_2 2014-04-26 ++=head2 1.49_2 2014-04-26 [BUG FIXES] -@@ -1056,7 +1058,7 @@ - * Improvements in tracing to take account of DBI's neatsvpv lops 5 - characters off maxsize on a string. + 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.28_4 2011-02-24 -+=head2 1.28_4 2011-02-24 +-1.49_1 2014-04-25 ++=head2 1.49_1 2014-04-25 [BUG FIXES] -@@ -1157,7 +1159,7 @@ - - Official release of the 1.26 development releases. - --1.26_4 2010-12-14 -+=head2 1.26_4 2010-12-14 - - Fixed bug highlighted by investigation into rt 62033 where the - active flag was sometimes not set on the statement after -@@ -1173,19 +1175,19 @@ - Fix a possible snprintf buffer overflow in GetTypeInfo when - the type is specified and it is negative. - --1.26_3 2010-11-18 -+=head2 1.26_3 2010-11-18 - - Fixed rt 63108. The change to column binding in 1.24_2 was not - complete and causes bound columns to be rebound on each execute - wasting time and leaking memory. Found, diagnosed and proposed fix - by Steve Bentley. - --1.26_2 2010-11-09 -+=head2 1.26_2 2010-11-09 - - Fixed bug found by frew where an snprintf can overflow when binding - a lot of parameters. - --1.26_1 2010-10-24 -+=head2 1.26_1 2010-10-24 - - 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 -@@ -1268,17 +1270,17 @@ - Removed dbd_caution as it was no used - Localised more variable declarations - --1.25 2010-09-22 -+=head2 1.25 2010-09-22 - - Official release of 1.25 combining all the changes in the 1.24_x - development releases. - --1.24_6 2010-09-16 -+=head2 1.24_6 2010-09-16 - - rt 61370 - default XML type parameters in SQL Server to SQL_WCHAR so - they accept unicode strings. - --1.24_5 2010-09-15 -+=head2 1.24_5 2010-09-15 - - Fixed missing SvSETMAGIC on a bound scalar which was causing length() to - return the wrong result - see http://www.perlmonks.org/?node_id=860211 -@@ -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. - --1.24_4 2010-09-08 -+=head2 1.24_4 2010-09-08 - - Left a sv_undef in - thanks smoke testers for finding that. - - Change sprintf to snprintf for safety. - --1.24_3 2010-09-06 -+=head2 1.24_3 2010-09-06 - - Added note from Robert Freimuth for obtaining the last insert ID in MS - Access. -@@ -1306,7 +1308,7 @@ - Added a FAQ entry for how "use regional settings" in MS SQL Server - breaks things. - --1.24_2 2010-07-23 -+=head2 1.24_2 2010-07-23 - - Fix rt57957 reported by Marc Prewitt. DBD::ODBC was not ignoring named - placeholders and ? inside comments. Comments are deemed as text between -@@ -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. - --1.24_1 2010-05-27 -+=head2 1.24_1 2010-05-27 - - Corrected pod and private attributes for the odbc_SQL_DRIVER_ODBC_VER - attribute which was documented as SQL_DRIVER_ODBC_VER. -@@ -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. - --1.24 2010-05-14 -+=head2 1.24 2010-05-14 - - Minor change in Makefile.PL to only use NO_META if ExtUtils::MakeMaker - is at least at version 6.10. Reported by Chunmei Wu. - - Minor change to test rt_50852 which had wrong skip count. - --1.23_5 2010-05-06 -+=head2 1.23_5 2010-05-06 - - Added advice from Jan Dubois (ActiveState) on building DBD::ODBC for - ActivePerl (see README.windows). -@@ -1383,7 +1385,7 @@ - Hopefully fixed problems building on windows 32 bit platforms that have - old sql header files not mentioning SQLLEN/SQLULEN. - --1.23_4 2010-04-13 -+=head2 1.23_4 2010-04-13 - - Added more FAQs. - -@@ -1408,7 +1410,7 @@ - parameter is varXXX(max) if SQLDescribeParam failed in the Microsoft - Native Client driver. - --1.23_3 2010-03-24 -+=head2 1.23_3 2010-03-24 - - Minor changes to Makefile.PL and dbdimp.c to remove some compiler - warnings. -@@ -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 - --1.23_2 2010-01-26 -+=head2 1.23_2 2010-01-26 - - 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 -@@ -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. - --1.23_1 2009-10-21 -+=head2 1.23_1 2009-10-21 - - makefile.PL changes: - some formatting changes to output warn if unixodbc headers are not -@@ -1471,12 +1473,12 @@ - PostgreSQL) which returns all strings as UTF-8 encoded unicode. Thanks - to Noel Burton-Krahn. - --1.23 2009-09-11 -+=head2 1.23 2009-09-11 - - Only a readme change and version bumped to 1.23. This is a full release - of all the 1.22_x development releases. - --1.22_3 2009-08-19 -+=head2 1.22_3 2009-08-19 - - Fix skip count in rt_38977.t and typo in ok call. - -@@ -1520,7 +1522,7 @@ - driver to pull the username/password from elsewhere e.g., like the - odbc.ini file. - --1.22_1 2009-06-16 -+=head2 1.22_1 2009-06-16 - - Applied a slightly modified version of patch from Jens Rehsack to - improve support for finding the iODBC driver manager. -@@ -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. - --1.22 2009-06-10 -+=head2 1.22 2009-06-10 - - Fixed bug which led to "Use of uninitialized value in subroutine entry" - warnings when writing a NULL into a NVARCHAR with a unicode-enabled -@@ -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. - --1.21_1 2009-06-02 -+=head2 1.21_1 2009-06-02 - - 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 -@@ -1579,7 +1581,7 @@ - some DBDs allow the parameter to be rebound with a different type - - DBD::ODBC is one of those drivers. - --1.21 2009-04-27 -+=head2 1.21 2009-04-27 - - Change 02simple test to output Perl, DBI and DBD::ODBC versions. - -@@ -1593,7 +1595,7 @@ - - Added test_results.txt containing some supplied make test results. - --1.20 2009-04-20 -+=head2 1.20 2009-04-20 - - 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 -@@ -1622,7 +1624,7 @@ - - Double the buffer size used for column names if built with unicode. - --1.19 2009-04-02 -+=head2 1.19 2009-04-02 - - Some minor diagnostic output during tests when running against freeTDS - to show we know of issues in freeTDS. -@@ -1663,7 +1665,7 @@ - Added diagnostic output to 02simple.t to show the state of - odbc_has_unicode. - --1.18_4 2009-03-13 -+=head2 1.18_4 2009-03-13 - - A mistake in the MANIFEST lead to the rt_43384.t test being omitted. - -@@ -1690,13 +1692,13 @@ - which was not done after testing if we are using SQL Server - this was - breaking tests to MS Access. - --1.18_2 2009-03-09 -+=head2 1.18_2 2009-03-09 - - Added yet another workaround for the SQL Server Native Client driver - version 2007.100.1600.22 and 2005.90.1399.00 (driver version 09.00.1399) - which leads to HY104, "Invalid precision value" in the rt_39841.t test. - --1.18_1 2009-03-06 -+=head2 1.18_1 2009-03-06 - - Fixed bug reported by Toni Salomäki leading to a describe failed error - when calling procedures with no results. Test cases added to -@@ -1706,11 +1708,11 @@ - more than 127 characters into a Microsoft Access text(255) column when - DBD::ODBC is built in unicode mode. - --1.18 2009-01-16 -+=head2 1.18 2009-01-16 - - Major release of all the 1.17 development releases below. - --1.17_3 2008-12-19 -+=head2 1.17_3 2008-12-19 - - Reinstated the answer in the FAQ for "Why do I get invalid value for - cast specification" which had got lost - thanks to EvanCarroll in -@@ -1740,7 +1742,7 @@ - One of the rt tests was not skipping the correct number of tests if the - driver was not SQL Server. - --1.17_2 2008-11-17 -+=head2 1.17_2 2008-11-17 - - Changed ParamTypes attribute to be as specification i.e., - -@@ -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. - --1.17_1 2008-10-10 -+=head2 1.17_1 2008-10-10 - - Missing newline from end of META.yml upsets cpan - -@@ -1789,7 +1791,7 @@ - - Added a test case for rt 39897. - --1.17 2008-09-22 -+=head2 1.17 2008-09-22 - - 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. -@@ -1798,7 +1800,7 @@ - - Added support for ParamTypes (see DBI spec) and notes in DBD::ODBC pod. - --1.16_4 2008-09-12 -+=head2 1.16_4 2008-09-12 - - Small change to Makefile.PL to work around problem in darwin 8 with - iODBC which leads to "Symbol not found: _SQLGetPrivateProfileString" -@@ -1824,7 +1826,7 @@ - - Fixed bug in 20SqlServer.t when DBI_DSN is defined including "DSN=". - --1.16_3 2008-09-03 -+=head2 1.16_3 2008-09-03 - - Changed Makefile.PL to add "-framework CoreFoundation" to linker line on - OSX/darwin. -@@ -1863,7 +1865,7 @@ - varchar(max) column. Thanks to Julian Lishev for finding the problem and - identifying 2 possible solutions. - --1.16_2 2008-09-02 -+=head2 1.16_2 2008-09-02 - - 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. -@@ -1929,7 +1931,7 @@ - New odbc_out_connect_string attribute for connections which returns the - ODBC driver out connection string. - --1.16_1 2008-08-28 -+=head2 1.16_1 2008-08-28 - - Fixed bug in odbc_cancel which was checking the ACTIVE flag was on - before calling SQLCancel. Non-select statements can also be cancelled so -@@ -1981,7 +1983,7 @@ - - New tests in 30Oracle.t for oracle procedures. - --1.16 2008-05-13 -+=head2 1.16 2008-05-13 - - [TESTS] - -@@ -2086,7 +2088,7 @@ - execute and some drivers (SQL Server) insist a procedure is not finished - until SQLMoreResults returns SQL_NO_DATA. - --1.15 2008-01-29 -+=head2 1.15 2008-01-29 - - 1.15 final release. - -@@ -2114,7 +2116,7 @@ - Now if DBI::DBD is not installed we just warn and exit 0 to avoid a - cpan-testers failure. - --1.15_2 2007-11-14 -+=head2 1.15_2 2007-11-14 - - Fix bug in DBD::ODBC's private function data_sources which was returning - data sources prefixed with "DBI:ODBC" instead of "dbi:ODBC". -@@ -2156,7 +2158,7 @@ - - Fix a possible typo, used once in 10handler.t. - --1.15_1 2007-11-06 -+=head2 1.15_1 2007-11-06 - - Minor changes to 20SqlServer.t test for SQL Server 2008 (Katmai). - Timestamps now return an extra 4 digits of precision (all 0000) and the -@@ -2219,7 +2221,7 @@ - Changed dual tests on SQL_SUCCESS and SQL_SUCCESS_WITH_INFO to use - SQL_SUCCEEDED. - --1.14 2007-07-17 -+=head2 1.14 2007-07-17 - - Fix bug reported where ping crashes after disconnect thanks to Steffen - Goeldner. -@@ -2298,7 +2300,7 @@ - - Add some HTTP links to useful tutorials on DBD::ODBC - --1.13 2004-11-08 -+=head2 1.13 2004-11-08 - - Fix inconsistency/bug with odbc_exec_direct vs. odbc_execdirect - settings. Now made consistent with odbc_exec_direct. For now, will -@@ -2318,7 +2320,7 @@ - Fix Oracle integral/numeric output params so that warning not printed - about value not being numeric (even though it is!) - --1.12 2004-10-26 -+=head2 1.12 2004-10-26 - - Fix bug with odbc_execdirect attributed thanks to Martin Evans - -@@ -2326,11 +2328,11 @@ - tests failed with setting timeout. Probably not handled by Oracle's - ODBC driver - --1.11 2004-10-11 -+=head2 1.11 2004-10-11 - - Added odbc_timeout, but untested - --1.10 2004-09-08 -+=head2 1.10 2004-09-08 - - Fixed bug in Makefile.PL. - -@@ -2340,12 +2342,12 @@ - - Fixed bug in bind_param_inout - --1.09 2004-03-10 -+=head2 1.09 2004-03-10 - - Duh. I forgot to add new dbivport.h to MANIFEST and SVN before - submitting. Fixed. - --1.08 2004-03-06 -+=head2 1.08 2004-03-06 - - Added check in Makefile.PL to detect if the environment variable LANG is - Set. If so, prints a warning about potential makefile generation -@@ -2358,7 +2360,7 @@ - permit them -- tested with SQL Server. Thanks to Martin Busik! See - odbc_cursortype information in the ODBC POD. - --1.07 2004-02-19 -+=head2 1.07 2004-02-19 - - Added to Subversion version control hosted by perl.org. Thanks Robert! - See ODBC.pm POD for more information. -@@ -2372,7 +2374,7 @@ - - Fix for SQLForeignKeys thanks to Kevin Shepherd. - --1.06 2003-06-19 -+=head2 1.06 2003-06-19 - - Fixed test in t/02simple.t to skip if the DSN defined by the user has - DSN= in it. -@@ -2389,7 +2391,7 @@ - Updated Makefile.PL for dmake, per patch by Steffen Goldner. Thanks - Steffen! - --1.05 2003-03-14 -+=head2 1.05 2003-03-14 - - Cleaned up Makefile.PL and added Informix support thanks to Jonathan - Leffler (see README.informix) -@@ -2409,7 +2411,7 @@ - Ensured files are in Unix format, with the exception of the README type - information and Makefile.PL - --1.04 2003-01-24 -+=head2 1.04 2003-01-24 - - It seems that case insensitive string comparison with a limit causes - problems for multiple platforms. strncmpi, strncasecmp, _strcmpin are -@@ -2417,12 +2419,12 @@ - to upper case the string then do strncmp, which should be safe...sheesh. - A simple thing turned into a headache... - --1.03 2003-01-17 -+=head2 1.03 2003-01-17 - - Add automatic detection of DRIVER= or DSN= to add user id and password - to connect string. - --1.02 2003-01-06 -+=head2 1.02 2003-01-06 - - Fix to call finish() automatically if execute is re-called in a loop - (and test in t/02simple.t to ensure it's fixed) -@@ -2432,11 +2434,11 @@ - - Fixes for build under Win32 with Perl5.8. - --1.01 2002-12-09 -+=head2 1.01 2002-12-09 - - Forgot to fix require DBI 1.201 in ODBC.pm to work for perl 5.8. Fixed - --1.00 2002-12-08 -+=head2 1.00 2002-12-08 - - (Please see all changes since version 0.43) - -@@ -2473,24 +2475,24 @@ - on systems which already have ODBC drivers in their standard include - path. - --0.45_18 2002-09-26 -+=head2 0.45_18 2002-09-26 - - Updated MANIFEST to include more of the mytest/* files (examples, tests) - - Fixed problem when attempting to get NUM_OF_FIELDS after execute returns - no rows/columns. - --0.45_17 2002-08-26 -+=head2 0.45_17 2002-08-26 - - More fixes for multiple result sets. Needed to clear the DBIc_FIELDS_AV - when re-executing the multiple-result set stored procedure/query. - --0.45_16 2002-08-26 -+=head2 0.45_16 2002-08-26 - - Updated to fix output parameters with multiple result sets. The output - parameters are not set until the last result set has been retrieved. - --0.45_15 2002-08-20 -+=head2 0.45_15 2002-08-20 - - Updated for new DBIc_STATE macros (all debug, as it turned out) to be - thread safer in the long run -@@ -2513,7 +2515,7 @@ - Updated the DBD::ODBC POD documentation to document DBD::ODBC private - attributes and usage. - --0.45_14 2002-08-13 -+=head2 0.45_14 2002-08-13 - - Added support to handle (better) DBI begin_work(). - -@@ -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. - --0.45_13 2002-08-09 -+=head2 0.45_13 2002-08-09 - - Workaround problem with iODBC where SQLAllocHandleStd is not present in - iODBC. -@@ -2531,11 +2533,11 @@ - near future the change log will be removed from here and put in changes - to tidy up a bit. - --0.45_12 2002-08-09 -+=head2 0.45_12 2002-08-09 - - Fixed global destruction access violation (which was seemingly random). - --0.45_11 2002-08-08 -+=head2 0.45_11 2002-08-08 - - Updated manifest to include more samples. - -@@ -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 - --0.45_10 2002-07-30 -+=head2 0.45_10 2002-07-30 - - 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 -@@ -2562,12 +2564,12 @@ - SQL_API_ODBC3_ALL_FUNCTIONS. Would have caused a memory overwrite on - the stack if it was called. - --0.45_9 2002-07-30 -+=head2 0.45_9 2002-07-30 - - Fixed bug in procedure handling for SQLServer. Was not re-describing - the result sets if the SQLMoreResults in the execute needs to be called. - --0.45_8 2002-07-25 -+=head2 0.45_8 2002-07-25 - - Fixed bug in tracing code when binding an undef parameter which did not - happen to have a valid buffer with tracing level >= 2 -@@ -2583,7 +2585,7 @@ - Fixed SQL Server issue when binding a null and the length was set to 0 - instead of 1 - --0.45_7 2002-07-25 -+=head2 0.45_7 2002-07-25 - - Adding support for array binding, but not finished. - -@@ -2594,11 +2596,11 @@ - Fixed bug where binding the empty string would cuase a problem. Fixed - and added test in t/07bind.t. - --0.45_6 2002-07-24 -+=head2 0.45_6 2002-07-24 - - Added support for new DBI ParamValues feature. - --0.45_5 2002-07-23 -+=head2 0.45_5 2002-07-23 - - Added odbc_err_handler and odbc_async_exec thanks to patches by David - L. Good. See example in mytest/testerrhandler.pl -@@ -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. - --0.45_4 2002-07-22 -+=head2 0.45_4 2002-07-22 - - More fixes for DB2 tests and timestamp handling. - --0.45_3 2002-07-22 -+=head2 0.45_3 2002-07-22 - - Changes to internal timestamp type handling and test structure to ensure - tests work for all platforms. DB2 was giving me fits due to bad -@@ -2643,12 +2645,12 @@ - problems and helping research solutions. This includes the - scale/precision values to correctly store full timestamps. - --0.45_2 2002-07-19 -+=head2 0.45_2 2002-07-19 - - Moving API usage to ODBC 3.0 specifications. With lots of help from - Martin Evans (again!). Thanks Martin!!!!! - --0.44 2002-07-18 -+=head2 0.44 2002-07-18 - - .44 was never officially released. - -@@ -2657,7 +2659,7 @@ - - Partly moving towards defaulting to ODBC 3.x standards. - --0.43 2002-07-18 -+=head2 0.43 2002-07-18 - - Fix for FoxPro (and potentially other) Drivers!!!!! - -@@ -2667,14 +2669,14 @@ - - Fix to make all bound columns word (int) aligned in the buffer. - --0.42 2002-07-08 -+=head2 0.42 2002-07-08 - - Added patches to the tests to support ActiveState's automated build - process. - - Fix ping() to try SQLTables for a test, instead of a strange query. - --0.41 2002-04-15 -+=head2 0.41 2002-04-15 - - Fixed problem where SQLDescribeParam would fail (probably bug in ODBC - driver). Now reverts to SQL_VARCHAR if that happens, instead of failing -@@ -2684,7 +2686,7 @@ - problem. Left the error on the test, but added warning indicating it's - a known problem. - --0.40 2002-04-12 -+=head2 0.40 2002-04-12 - - 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 -@@ -2698,7 +2700,7 @@ - this, but if someone has the problem, please let me know (and hopefully - send a patch with it). - --0.39 2002-03-12 -+=head2 0.39 2002-03-12 - - See mytest/longbin.pl for demonstration of inserting and retrieving long - binary files to/from the db. Uses MD5 algorithm to verify data. Please -@@ -2716,11 +2718,11 @@ - Changes to connect sequence to provide better error messages for those - using DSN-less connections. - --0.38 2002-02-12 -+=head2 0.38 2002-02-12 - - Fixed do function (again) thanks to work by Martin Evans. - --0.37 2002-02-10 -+=head2 0.37 2002-02-10 - - Patches for get_info where return type is string. Patches thanks to - Steffen Goldner. Thanks Steffen! -@@ -2736,12 +2738,12 @@ - Additionally, a random core dump occurred in the tests, based upon the - new SQLExecDirect code. This has been fixed. - --0.36 2002-02-10 -+=head2 0.36 2002-02-10 - - Fixed build for ODBC 2.x drivers. The new SQLExecDirect code had - SQLFreeHandle which is a 3.x function, not a 2.x function. - --0.35 2002-02-09 -+=head2 0.35 2002-02-09 - - Fixed (finally) multiple result sets with differing numbers of columns. - The final fix was to call SQLFreeStmt(SQL_UNBIND) before repreparing the -@@ -2758,7 +2760,7 @@ - ensure SQLExecDirect is being called. Patches thanks to Merijn Broeren. - Thanks Merijn! - --0.34 2002-02-07 -+=head2 0.34 2002-02-07 - - Further revamped tests to attempt to determine if SQLDescribeParam will - work to handle the binding types. The t/08bind.t attempts to determine -@@ -2774,13 +2776,13 @@ - - Support for upcoming dbi get_info. - --0.33_3 2002-02-04 -+=head2 0.33_3 2002-02-04 - - Revamped tests to include tests for multiple result sets. The tests are - ODBC driver platform specific and will be skipped for drivers which do - not support multiple result sets. - --0.33_2 2002-02-04 -+=head2 0.33_2 2002-02-04 - - 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 -@@ -2801,7 +2803,7 @@ - - Please comment soon... - --0.33_1 2002-02-04 -+=head2 0.33_1 2002-02-04 - - *** WARNING: *** - -@@ -2829,14 +2831,14 @@ - '01-JAN-1987 00:00:00' - 'Does anyone insert a ?' - --0.32 2002-01-22 -+=head2 0.32 2002-01-22 - - More SAP patches to Makfile.PL to eliminate the call to Data Sources - - A patch to the test (for SAP and potentially others), to allow fallback - to SQL_TYPE_DATE in the tests - --0.31 2002-01-18 -+=head2 0.31 2002-01-18 - - Added SAP patches to build directly against SAP driver instead of driver - manager thanks to Flemming Frandsen (thanks!) -@@ -2845,7 +2847,7 @@ - please report this as soon as possible. The downside is that we need to - actually execute the dummy query. - --0.30 2002-01-08 -+=head2 0.30 2002-01-08 - - Added ping patch for Solid courtesy of Marko Asplund - -@@ -2869,7 +2871,7 @@ - # ignores :foo, :new, etc, but not :1 or ? - $dbh->do("create or replace etc :new.D = sysdate etc"); - --0.29 2001-08-22 -+=head2 0.29 2001-08-22 - - Cygwin patches from Neil Lunn (untested by me). Thanks Neil! - -@@ -2938,7 +2940,7 @@ - - Updated t/02simple.t to not print an error, when there is not one. - --0.28 2000-03-23 -+=head2 0.28 2000-03-23 - - Added support for SQLSpecialColumns thanks to patch provided by Martin - J. Evans -@@ -2946,7 +2948,7 @@ - Fixed bug introduced in 0.26 which was introduced of SQLMoreResults was - not supported by the driver. - --0.27 2000-03-08 -+=head2 0.27 2000-03-08 - - Examined patch for ping method to repair problem reported by Chris - Bezil. Thanks Chris! -@@ -2954,7 +2956,7 @@ - Added simple test for ping method working which should identify this in - the future. - --0.26 2000-03-05 -+=head2 0.26 2000-03-05 - - 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 -@@ -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. - --0.25 2000-03-04 -+=head2 0.25 2000-03-04 - - Added conditional compilation for SQL_WVARCHAR and SQL_WLONGVARCHAR. If - they are not defined by your driver manager, they will not be compiled -@@ -2984,7 +2986,7 @@ - Added more long tests with binding in t\09bind.t. Note use of - bind_param! - --0.24 2000-02-24 -+=head2 0.24 2000-02-24 - - Fixed Test #13 in 02simple.t. Would fail, improperly, if there was only - one data source defined. -@@ -3007,14 +3009,14 @@ - Added some code for handling a hint on disconnect where the user gets an - error for not committing. - --0.22 1999-09-08 -+=head2 0.22 1999-09-08 - - Fixed for threaded perl builds. Note that this was tested only on - Win32, with no threads in use and using DBI 1.13. Note, for - ActiveState/PERL_OBJECT builds, DBI 1.13_01 is required as of 9/8/99. - If you are using ActiveState's perl, this can be installed by using PPM. - --0.21 Unknown -+=head2 0.21 Unknown - - Thanks to all who provided patches! - -@@ -3064,23 +3066,23 @@ - Added data_sources capability via snarfing code from DBD::Adabas (Jochen - Wiedmann) - --0.20 1998-08-14 -+=head2 0.20 1998-08-14 - - SQLColAttributes fixes for SQL Server and MySQL. Fixed tables method by - renaming to new table_info method. Added new tyoe_info_all method. - Improved Makefile.PL support for Adabase. - --0.19 Unknown -+=head2 0.19 Unknown - - Added iODBC source code to distribution.Fall-back to using iODBC header - files in some cases. - --0.18 Unknown -+=head2 0.18 Unknown - - Enhancements to build process. Better handling of errors in error - handling code. - --0.17 Unknown -+=head2 0.17 Unknown - - This release is mostly due to the good work of Jeff Urlwin. My eternal - thanks to you Jeff. -@@ -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). -+ -+=cut diff --git a/perl-DBD-ODBC.spec b/perl-DBD-ODBC.spec index 322523f..834838f 100644 --- a/perl-DBD-ODBC.spec +++ b/perl-DBD-ODBC.spec @@ -1,6 +1,6 @@ Name: perl-DBD-ODBC -Version: 1.50 -Release: 5%{?dist} +Version: 1.52 +Release: 1%{?dist} Summary: ODBC Driver for DBI License: GPL+ or Artistic Group: Development/Libraries @@ -48,6 +48,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Apr 20 2015 Jan Holcapek <holcapek@xxxxxxxxx> - 1.52-1 +- Updated to upstream version 1.52. + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.50-5 - Perl 5.20 rebuild diff --git a/sources b/sources index e788623..163d1f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a380049dadb9b1eebf7dfaa99b1d82de DBD-ODBC-1.50.tar.gz +5f4eadbbb7f1ac6e77ab92276ccae573 DBD-ODBC-1.52.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-DBD-ODBC.git/commit/?h=master&id=bd684a2e61f017782e17b23c0ec7a738b5b9876e
-- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel