]> git.koha-community.org Git - koha.git/commit
Bug 21129: New ALTER IGNORE TABLE entries need correction in updatedatabase.pl
authorBlou <philippe.blouin@inlibro.com>
Fri, 27 Jul 2018 15:41:16 +0000 (11:41 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 2 Aug 2018 13:10:35 +0000 (10:10 -0300)
commit336c54860531253d860165dc9a6d406892b1600a
treedac79fff89c714bad635040444f18639659536ae
parentce96080f3005be5a63c9f2cab8d4b6c81e9b5b27
Bug 21129: New ALTER IGNORE TABLE entries need correction in updatedatabase.pl

Bug 17234 made an effort to remove the ALTER IGNORE from updatedatabase.pl so that it could work with Mysql 5.7.  But new entries have since been added to it:

Bug 12395 - 18.06.00.005
Bug 19524 - 18.06.00.006
Bug 13560 - 18.06.00.008

This is corrected using column_exists to validate the existence of the new columns before ALTER

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/updatedatabase.pl