From ab7575a8ad40fc6389ce06a5f85a2b5d1bf05c00e382005d0f3b02c74f8fc876 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 21 Nov 2016 14:32:08 +0000 Subject: [PATCH] Accepting request 441024 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/441024 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=44 --- DBD-mysql-4.039.tar.gz | 3 --- DBD-mysql-4.040.tar.gz | 3 +++ perl-DBD-mysql.changes | 26 ++++++++++++++++++++++++++ perl-DBD-mysql.spec | 4 ++-- 4 files changed, 31 insertions(+), 5 deletions(-) delete mode 100644 DBD-mysql-4.039.tar.gz create mode 100644 DBD-mysql-4.040.tar.gz diff --git a/DBD-mysql-4.039.tar.gz b/DBD-mysql-4.039.tar.gz deleted file mode 100644 index 65ec75a..0000000 --- a/DBD-mysql-4.039.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1602a9d22e13bd2c5b27e8e2f2a7cc7fa08d6ce53162b0aa12b5d7d5e41a974c -size 149928 diff --git a/DBD-mysql-4.040.tar.gz b/DBD-mysql-4.040.tar.gz new file mode 100644 index 0000000..9574dd0 --- /dev/null +++ b/DBD-mysql-4.040.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3438bba3cce02b13870b146b9db76a519b98e978d9dfe8516a63daff2989040 +size 149783 diff --git a/perl-DBD-mysql.changes b/perl-DBD-mysql.changes index 38a5059..d798766 100644 --- a/perl-DBD-mysql.changes +++ b/perl-DBD-mysql.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Sun Nov 20 06:16:34 UTC 2016 - coolo@suse.com + +- updated to 4.040 + see /usr/share/doc/packages/perl-DBD-mysql/Changes + + 2016-11-19 Patrick Galbraith, Michiel Beijen, DBI/DBD community (4.040) + * Since 4.038 we had problems compiling on big-endian architectures, such + as MIPS, s390 and Sparc. Thanks to Salvatore Bonaccorso @ Debian project + (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844538) + and Vladimir Marek (https://rt.cpan.org/Public/Bug/Display.html?id=118835) + for reporting the issues. Fix by Pali Rohár. + + Fix integer types when server side prepare statements are enabled + Fixed problems: + * SQL_BIGINT was incorrectly handled as 32bit MYSQL_TYPE_LONG type instead + 64bit MYSQL_TYPE_LONGLONG which led to integer overflow/underflow + * 32bit MYSQL_TYPE_LONG was used for perl's IV storage when IV was 64bit + and 64bit MYSQL_TYPE_LONGLONG was used when IV was 32bit + * All unsigned types were handled as signed, so all high positive values + were treated as negative + * Numeric conversions in perl which led to overflow/underflow was ignored + even when mysql strict mode was enabled + * Test t/41int_min_max.t was running only for normal non-prepared statements + * Test t/40server_prepare.t used incorrect SQL type for big (64bit) integers + ------------------------------------------------------------------- Thu Nov 17 06:16:34 UTC 2016 - coolo@suse.com diff --git a/perl-DBD-mysql.spec b/perl-DBD-mysql.spec index bbf1224..122c509 100644 --- a/perl-DBD-mysql.spec +++ b/perl-DBD-mysql.spec @@ -17,14 +17,14 @@ Name: perl-DBD-mysql -Version: 4.039 +Version: 4.040 Release: 0 %define cpan_name DBD-mysql Summary: MySQL driver for the Perl5 Database Interface (DBI) License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/DBD-mysql/ -Source0: http://www.cpan.org/authors/id/C/CA/CAPTTOFU/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/M/MI/MICHIELB/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl