]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 6 Jun 2024 08:57:39 +0000 (10:57 +0200)
commitcad1935c7da2081d05dc560ee76550164c8e466f
treee14019e3c913c47c7e5bedc137fac2684345aa0f
parent658d7aa82076be0455fb2e959b0ebd38ee5985d3
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>
(cherry picked from commit 73634e93fd044d68e6415601ebeab7dbcca5286e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/db_revs/231105010.pl