]> git.koha-community.org Git - koha.git/commit
Bug 36986: (follow-up) Ensure idempotency
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Jun 2024 06:30:37 +0000 (07:30 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Jun 2024 06:30:37 +0000 (07:30 +0100)
commit73634e93fd044d68e6415601ebeab7dbcca5286e
tree584641b9b52903a5a87500dc5df64aff71952fc1
parentdc2388281c8e0e9c11ee5829cf09b7737a2f1c6c
Bug 36986: (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/240600001.pl