Package: libdbd-mysql-perl / 4.041-2


Package Version Patches format
libdbd-mysql-perl 4.041-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
test user.patch | (download)

t/10connect.t | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 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 !
1 file changed, 3 insertions(+), 6 deletions(-)

 [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:

See also reported perl bug about SvNV():