Bug 14298: Do not insert the permission if already exists.
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Nov 2015 13:29:05 +0000 (13:29 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Nov 2015 14:34:09 +0000 (11:34 -0300)
commita28cd52f15d82c772258f059d9439289a6f554c4
tree8688a00bfe3f8387b21d537374d69ba952718892
parentecad686d7425346d9bc8e017eba44ca7d25cad9c
Bug 14298: Do not insert the permission if already exists.

To avoid a warning on updating from 3.20.x to 3.22, use "insert ignore
into".

This patch is not useful for 3.20.x.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/updatedatabase.pl