]> git.koha-community.org Git - koha.git/commit
Bug 20144: [sql_modes] Fix default value for statistics.amount
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Feb 2018 17:41:48 +0000 (14:41 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Feb 2018 16:58:49 +0000 (13:58 -0300)
commit9ef4bad47377eefa83bc6a2fe5ae64e39707c266
tree8c375dbbb84e818d4f533333b66fa92f4aa93511
parentd03a6206da9b74ff169dd71154992d80b966cd5d
Bug 20144: [sql_modes] Fix default value for statistics.amount

Must be an integer, not empty string
Fix for:
Data truncated for column 'value'

Found with
t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Stats.pm