Accepting request 441209 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/441209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBD-mysql?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2016-11-22 17:58:59 +00:00 committed by Git OBS Bridge
commit 615f43dc02
4 changed files with 31 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1602a9d22e13bd2c5b27e8e2f2a7cc7fa08d6ce53162b0aa12b5d7d5e41a974c
size 149928

3
DBD-mysql-4.040.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3438bba3cce02b13870b146b9db76a519b98e978d9dfe8516a63daff2989040
size 149783

View File

@ -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

View File

@ -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