]> 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:38:07 +0000 (10:38 +0200)
commit3f1c548ee02bd33fd97bed0691dc8c5242b0d938
treefabae95a7427fce89036b6a5b37848b073e4c66b
parentd26bc6fba470d5e41a27758c650ef5314f2ae30b
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/240500001.pl