Bug 20144: [sql_modes] Do not store 0000-00-00
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Feb 2018 19:32:26 +0000 (16:32 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Feb 2018 16:59:01 +0000 (13:59 -0300)
commit53e46a58624f14f6528b6bd06c0eb39bd09b9e0f
tree554cf10dfd5f9eaef6f767bdacf15fe2c2bad6d5
parentfb16189e0bedb6c2c91d778ca842cfca2507018c
Bug 20144: [sql_modes] Do not store 0000-00-00

This patch needs to be linked with bug 20145.

Fix for:
Incorrect date value: '0000-00-00' for column 'dateexpiry'

We cannot longer store 0000-00-00, but no need to.
The tests must be kept for now as long as bug 20145 has a solution

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>
t/db_dependent/Koha/Patrons.t