]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 6 Jun 2024 08:38:07 +0000 (10:38 +0200)
commitd26bc6fba470d5e41a27758c650ef5314f2ae30b
tree0b555aad23d7f2aa02444474056bb7d09efd9f19
parent6016d7eda6399bc2c1105ef751d4285041566ea4
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>
(cherry picked from commit dc2388281c8e0e9c11ee5829cf09b7737a2f1c6c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/db_revs/231200061.pl