Package: libdbd-mysql-perl / 4.041-2
Metadata
Package | Version | Patches format |
---|---|---|
libdbd-mysql-perl | 4.041-2 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
test user.patch | (download) |
t/10connect.t |
3 3 + 0 - 0 ! |
mark a test as todo which fails in our test setup because we have no users (besides the password-less socket-using root) in our test database |
regression fix float_type_conversion.patch | (download) |
dbdimp.c |
9 3 + 6 - 0 ! |
[patch] fix type conversions Calling SvNV() for magical scalar is not enough for float type conversion. It caused problem for Amavis in tainted mode -- all float values were zero. On the other hand SvIV() and SvUV() seems to work fine. To be sure that correct value of float is in scalar use sv_setnv() with explicit NV float value. Similar code is changed also for integers IV/UV. This patch should fix reported Amavis bug: https://github.com/perl5-dbi/DBD-mysql/issues/78 See also reported perl bug about SvNV(): https://rt.perl.org/Public/Bug/Display.html?id=130801 Bugs: https://github.com/perl5-dbi/DBD-mysql/issues/78 Bugs-Debian: https://bugs.debian.org/856064 |
1