M. Tompsett <> changed:

           What    |Removed                     |Added
  Attachment #71388|0                           |1
        is obsolete|                            |

--- Comment #2 from M. Tompsett <> ---
Created attachment 71595
Bug 20169: Fix two tests when DBD::mysql is 4.041

Tests pass with DBD::mysql 4.028, but not with 4.041. I'm not sure which
exact version makes those tests to fail.

The problem is that with newer versions of DBD::mysql, 'float' columns
get converted to numbers instead of string, thus the comparison fail.

This patch converts the expected values to numbers so the
comparison should succeed with both versions of DBD::mysql

Test plan:
1. Install DBD::mysql 4.041 or newer
2. prove t/db_dependent/Accounts.t t/db_dependent/Bookseller.t

Signed-off-by: Mark Tompsett <>

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to