From 2bf2ebd4b2d31320d94d6cbb34063e42cda0df38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Fri, 1 Dec 2023 08:20:56 +0100 Subject: [PATCH] Remove legacy Bundle::DBD::mysql --- MANIFEST | 1 - lib/Bundle/DBD/mysql.pm | 23 ----------------------- t/version.t | 6 ------ 3 files changed, 30 deletions(-) delete mode 100644 lib/Bundle/DBD/mysql.pm diff --git a/MANIFEST b/MANIFEST index d2a381d7..62204dc6 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2,7 +2,6 @@ Changes constants.h dbdimp.c dbdimp.h -lib/Bundle/DBD/mysql.pm lib/DBD/mysql.pm lib/DBD/mysql/GetInfo.pm lib/DBD/mysql/INSTALL.pod diff --git a/lib/Bundle/DBD/mysql.pm b/lib/Bundle/DBD/mysql.pm deleted file mode 100644 index 027679b6..00000000 --- a/lib/Bundle/DBD/mysql.pm +++ /dev/null @@ -1,23 +0,0 @@ -package Bundle::DBD::mysql; - -use strict; -use warnings; - -our $VERSION = '5.003'; - -1; - -__END__ - -=pod - -=head1 NAME - -Bundle::DBD::mysql - -=head1 DESCRIPTION - -This package only exists for legacy reasons. Please use the L -package instead. - -=cut diff --git a/t/version.t b/t/version.t index 26673e10..fcac6ef4 100644 --- a/t/version.t +++ b/t/version.t @@ -2,16 +2,10 @@ use strict; use warnings; use DBD::mysql; -use Bundle::DBD::mysql; use Test::More; like($DBD::mysql::VERSION, qr/^\d\.\d{2,3}(|_\d\d)$/, 'version format'); like($DBD::mysql::VERSION, qr/^5\./, 'version starts with "5." (update for 6.x)'); -is( - $DBD::mysql::VERSION, - $Bundle::DBD::mysql::VERSION, - 'VERSION strings should be the same in all .pm files in dist' -); diag("mysql_get_client_version: ", DBD::mysql->client_version); cmp_ok(DBD::mysql->client_version, ">", 0, "mysql_get_client_version is available as a standalone function");