]> git.koha-community.org Git - koha.git/commit
Bug 36986L (follow-up) Ensure idempotency
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 5 Jun 2024 17:10:33 +0000 (18:10 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 5 Jun 2024 17:12:03 +0000 (18:12 +0100)
commitdc2388281c8e0e9c11ee5829cf09b7737a2f1c6c
tree3cace3c50242ae17ac1ef45b2a1044842c8fd5d2
parent309127226fb5a308e744ed4011d407e4ec3bed28
Bug 36986L (follow-up) Ensure idempotency

MySQL/MariaDB checks the primary key/unique constraint before WHERE
clause when performing an UPDATE. As such, the lack of AutoLocation
existing will not prevent a failure on a second run of the update.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/db_revs/231200061.pl