Bug#856064: libdbd-mysql-perl: reads of floats currupted as 0

gregor herrmann gregoa at debian.org
Fri Feb 24 23:41:31 UTC 2017


On Sat, 25 Feb 2017 09:29:23 +1100, Brian May wrote:

> Package: libdbd-mysql-perl
> Version: 4.041-1
> Severity: grave
> Justification: causes non-serious data loss
> 
> When reading floats from mysql, they are always read as 0.

Thanks for the bug report and all the information!
 
> Upstream patch:
> https://github.com/perl5-dbi/DBD-mysql/pull/102

This patch doesn't apply against 4.041-1 in Debian (or 4.041
upstream), and neither against the master branch in the upstream repo
(so unless I'm missing something, this pull request won't work as-is), as
Pali's master has been massively rewritten since then. [0]

From looking at the comments in the diff I could possibly find the
places in the shipped dbdimp.c to make this build somehow, but I'm
rather reluctant to do this blindly.

Pali, could you perhaps come up with a patch that applies against 4.041?


Cheers,
gregor

[0] especially caea0b774028650c0cbd9d8f9c4a0b47831116df changes the
    variable types in the switch/case construct

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Led Zeppelin: Kashmir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170225/a227b84c/attachment.sig>


More information about the pkg-perl-maintainers mailing list