]> 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:57:39 +0000 (10:57 +0200)
commit658d7aa82076be0455fb2e959b0ebd38ee5985d3
tree3edda0c1d5b61eaebda8e89c6ad2f081eed86b7e
parent600ec9c9a370fad3084c75cf2140f03c6662e2e1
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/231105009.pl