25119027 Update DBD::mysql to 4.0.40
authorVladimir Marek <Vladimir.Marek@oracle.com>
Mon, 21 Nov 2016 15:44:24 +0100
changeset 7393 f4f5642f74fa
parent 7392 b622c682317d
child 7396 8545c0cb4601
25119027 Update DBD::mysql to 4.0.40 25119030 problem in PERL-MOD/DBD-MYSQL
components/perl_modules/dbd-mysql/Makefile
components/perl_modules/dbd-mysql/patches/01_fix_test.patch
components/perl_modules/dbd-mysql/test/results-all.master
--- a/components/perl_modules/dbd-mysql/Makefile	Wed Nov 23 00:29:59 2016 -0800
+++ b/components/perl_modules/dbd-mysql/Makefile	Mon Nov 21 15:44:24 2016 +0100
@@ -32,16 +32,16 @@
 include ../../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		DBD-mysql
-COMPONENT_VERSION=	4.037
-IPS_COMPONENT_VERSION=  4037
+COMPONENT_VERSION=	4.040
+IPS_COMPONENT_VERSION=  4040
 HUMAN_VERSION=		$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE_HASH=	\
-	sha256:df578acef28ed3f6aaae52dc98e6821a1407d3bfa88585255729bb0ebfed3cfc
+	sha256:a3438bba3cce02b13870b146b9db76a519b98e978d9dfe8516a63daff2989040
 COMPONENT_ARCHIVE_URL=	http://search.cpan.org/CPAN/authors/id/M/MI/MICHIELB/$(COMPONENT_ARCHIVE)
 COMPONENT_PROJECT_URL=	https://github.com/perl5-dbi/DBD-mysql
 COMPONENT_BUGDB=	perl-mod/dbd-mysql
 
-TPNO=			32078
+TPNO=			32689
 
 
 # MySQL 5.7 is not available in S11.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/perl_modules/dbd-mysql/patches/01_fix_test.patch	Mon Nov 21 15:44:24 2016 +0100
@@ -0,0 +1,13 @@
+https://rt.cpan.org/Public/Bug/Display.html?id=118837
+
+--- DBD-mysql-4.038/t/05dbcreate.t	st říj  5 14:44:00 2016
++++ DBD-mysql-4.037/t/05dbcreate.t	po říj  3 08:52:35 2016
+@@ -10,7 +10,7 @@
+ require 'lib.pl';
+ 
+ # remove database from DSN
+-$test_dsn =~ s/^DBI:mysql:([^:]+)(:?)/DBI:mysql:$2/;
++$test_dsn =~ s/^DBI:mysql:([^:;]+)([:;]?)/DBI:mysql:$2/;
+ 
+ my $dbh;
+ eval {$dbh= DBI->connect($test_dsn, $test_user, $test_password,
--- a/components/perl_modules/dbd-mysql/test/results-all.master	Wed Nov 23 00:29:59 2016 -0800
+++ b/components/perl_modules/dbd-mysql/test/results-all.master	Mon Nov 21 15:44:24 2016 +0100
@@ -1,9 +1,9 @@
 make[1]: Entering directory '$(@D)'
 PERL_DL_NONLAZY=1 "$(PERL)" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
 # Driver version is <REMOVED>
-t/00base.t ........................... ok
+t/00base.t .............................. ok
 # Database 'test' accessible
-t/05dbcreate.t ....................... ok
+t/05dbcreate.t .......................... ok
 # mysql_clientinfo is: <REMOVED>
 # mysql_clientversion is: <REMOVED>
 # mysql_serverversion is: <REMOVED>
@@ -13,72 +13,74 @@
 # mysql_protoinfo is: <REMOVED>
 # SQL_DBMS_VER is <REMOVED>
 # Default storage engine is: InnoDB
-t/10connect.t ........................ ok
-t/15reconnect.t ...................... ok
-t/16dbi-get_info.t ................... ok
-t/20createdrop.t ..................... ok
-t/25lockunlock.t ..................... ok
-t/29warnings.t ....................... ok
-t/30insertfetch.t .................... ok
-t/31insertid.t ....................... ok
-t/32insert_error.t ................... ok
-t/35limit.t .......................... ok
-t/35prepare.t ........................ ok
-t/40bindparam.t ...................... ok
-t/40bindparam2.t ..................... ok
-t/40bit.t ............................ ok
-t/40blobs.t .......................... ok
-t/40catalog.t ........................ ok
-t/40keyinfo.t ........................ ok
-t/40listfields.t ..................... ok
-t/40nulls.t .......................... ok
-t/40nulls_prepare.t .................. ok
-t/40numrows.t ........................ ok
-t/40server_prepare.t ................. ok
-t/40server_prepare_error.t ........... ok
-t/40types.t .......................... ok
-t/41bindparam.t ...................... ok
-t/41blobs_prepare.t .................. ok
-t/41int_min_max.t .................... ok
-t/42bindparam.t ...................... ok
-t/43count_params.t ................... ok
-t/50chopblanks.t ..................... ok
-t/50commit.t ......................... ok
-t/51bind_type_guessing.t ............. ok
-t/52comment.t ........................ ok
-t/53comment.t ........................ ok
-t/55utf8.t ........................... ok
-t/55utf8mb4.t ........................ ok
-t/56connattr.t ....................... ok
-t/60leaks.t .......................... skipped: Skip $ENV{EXTENDED_TESTING} is not set
-t/65segfault.t ....................... ok
-t/65types.t .......................... ok
-t/70takeimp.t ........................ ok
-t/71impdata.t ........................ ok
-t/75supported_sql.t .................. ok
-t/76multi_statement.t ................ ok
-t/80procs.t .......................... ok
-t/81procs.t .......................... ok
-t/85init_command.t ................... ok
-t/86_bug_36972.t ..................... ok
-t/87async.t .......................... skipped: Test::Deep is not installed!
-t/88async-multi-stmts.t .............. ok
-t/89async-method-check.t ............. ok
-t/90no-async.t ....................... skipped: Async support was built into this version of DBD::mysql
-t/91errcheck.t ....................... ok
-t/99_bug_server_prepare_blob_null.t .. ok
-t/manifest.t ......................... skipped: these tests are for release testing
-t/pod.t .............................. skipped: Test::Pod 1.00 required for testing POD
-t/rt25389-bin-case.t ................. ok
-t/rt50304-column_info_parentheses.t .. ok
-t/rt75353-innodb-lock-timeout.t ...... ok
-t/rt83494-quotes-comments.t .......... ok
-t/rt85919-fetch-lost-connection.t .... ok
-t/rt86153-reconnect-fail-memory.t .... skipped: $ENV{EXTENDED_TESTING} is not set
-t/rt88006-bit-prepare.t .............. ok
-t/rt91715.t .......................... ok
-t/version.t .......................... ok
+t/10connect.t ........................... ok
+t/15reconnect.t ......................... ok
+t/16dbi-get_info.t ...................... ok
+t/20createdrop.t ........................ ok
+t/25lockunlock.t ........................ ok
+t/29warnings.t .......................... ok
+t/30insertfetch.t ....................... ok
+t/31insertid.t .......................... ok
+t/32insert_error.t ...................... ok
+t/35limit.t ............................. ok
+t/35prepare.t ........................... ok
+t/40bindparam.t ......................... ok
+t/40bindparam2.t ........................ ok
+t/40bit.t ............................... ok
+t/40blobs.t ............................. ok
+t/40catalog.t ........................... ok
+t/40keyinfo.t ........................... ok
+t/40listfields.t ........................ ok
+t/40nulls.t ............................. ok
+t/40nulls_prepare.t ..................... ok
+t/40numrows.t ........................... ok
+t/40server_prepare.t .................... ok
+t/40server_prepare_crash.t .............. ok
+t/40server_prepare_error.t .............. ok
+t/40types.t ............................. ok
+t/41bindparam.t ......................... ok
+t/41blobs_prepare.t ..................... ok
+t/41int_min_max.t ....................... ok
+t/42bindparam.t ......................... ok
+t/43count_params.t ...................... ok
+t/50chopblanks.t ........................ ok
+t/50commit.t ............................ ok
+t/51bind_type_guessing.t ................ ok
+t/52comment.t ........................... ok
+t/53comment.t ........................... ok
+t/55utf8.t .............................. ok
+t/55utf8mb4.t ........................... ok
+t/56connattr.t .......................... ok
+t/60leaks.t ............................. skipped: Skip $ENV{EXTENDED_TESTING} is not set
+t/65segfault.t .......................... ok
+t/65types.t ............................. ok
+t/70takeimp.t ........................... ok
+t/71impdata.t ........................... ok
+t/75supported_sql.t ..................... ok
+t/76multi_statement.t ................... ok
+t/80procs.t ............................. ok
+t/81procs.t ............................. ok
+t/85init_command.t ...................... ok
+t/86_bug_36972.t ........................ ok
+t/87async.t ............................. skipped: Test::Deep is not installed!
+t/88async-multi-stmts.t ................. ok
+t/89async-method-check.t ................ ok
+t/90no-async.t .......................... skipped: Async support was built into this version of DBD::mysql
+t/91errcheck.t .......................... ok
+t/99_bug_server_prepare_blob_null.t ..... ok
+t/manifest.t ............................ skipped: these tests are for release testing
+t/pod.t ................................. skipped: Test::Pod 1.00 required for testing POD
+t/rt25389-bin-case.t .................... ok
+t/rt50304-column_info_parentheses.t ..... ok
+t/rt61849-bind-param-buffer-overflow.t .. ok
+t/rt75353-innodb-lock-timeout.t ......... ok
+t/rt83494-quotes-comments.t ............. ok
+t/rt85919-fetch-lost-connection.t ....... ok
+t/rt86153-reconnect-fail-memory.t ....... skipped: $ENV{EXTENDED_TESTING} is not set
+t/rt88006-bit-prepare.t ................. ok
+t/rt91715.t ............................. ok
+t/version.t ............................. ok
 All tests successful.
-Files=67, Tests=1640, <TIMINGS REMOVED>
+Files=69, Tests=2031, <TIMINGS REMOVED>
 Result: PASS
 make[1]: Leaving directory '$(@D)'