Bug 27944: (QA follow-up) Make atomic update idempotent
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Sep 2021 17:42:28 +0000 (14:42 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 5 Oct 2021 08:58:14 +0000 (10:58 +0200)
commit504deebdfc861ddf7d328ad574f3ea7d6bfbd443
tree47886c24942af3b0411346fdab9bc47a6dbfe95d
parentf9078f2a00832debeb7b4eb9ca7d9fa5a5e5141a
Bug 27944: (QA follow-up) Make atomic update idempotent

This patch checks the DB structure to see if the status column
definition contains 'REQUESTED' as a valid ENUM value.

The script is also moved into the new style.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/1_bug_27944.pl [new file with mode: 0755]
installer/data/mysql/atomicupdate/bug_27944.perl [deleted file]