Bug 31086: (QA follow-up) Improve atomicupdate to be more resilient
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 22 Jul 2022 09:05:55 +0000 (10:05 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 17:19:18 +0000 (14:19 -0300)
commit5fa510b431c043671c7bcb73c431c60aac0039ed
tree426c49786a3685ba0ce5dca9dd9bceed7674896b
parentf0685f0f4053da428ab13d9f3991790fb71b7e55
Bug 31086: (QA follow-up) Improve atomicupdate to be more resilient

We now populate the branchcode field with the first available branch on
the system if we find it to be NULL before we set the NOT NULL

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_31086_do_not_allow_null_branchcode_in_reserves.pl