update ⇒ UPDATE — casing fix only, no substantive change.

This commit is contained in:
Bradley M. Kuhn 2022-11-10 16:08:06 -08:00
parent 3d5773eb16
commit 42c27893f7

View file

@ -367,7 +367,8 @@ DELETE FROM _temp_request_configuration_change;
INSERT INTO _temp_request_configuration_change(new_description) VALUES(NEW.setting_requested); INSERT INTO _temp_request_configuration_change(new_description) VALUES(NEW.setting_requested);
update _temp_request_configuration_change set new_request_configuration_id = (select rc.id
UPDATE _temp_request_configuration_change set new_request_configuration_id = (select rc.id
from request_configuration rc, request_type rt from request_configuration rc, request_type rt
where rc.description = NEW.setting_requested where rc.description = NEW.setting_requested
and rt.id = rc.request_type_id and rt.id = rc.request_type_id
@ -384,7 +385,7 @@ UPDATE _temp_request_configuration_change set old_request_configuration_id =
SELECT CASE SELECT CASE
WHEN ( (SELECT new_request_configuration_id from _temp_request_configuration_change) IS NULL ) WHEN ( (SELECT new_request_configuration_id from _temp_request_configuration_change) IS NULL )
THEN RAISE(FAIL, "Invalid contact setting; see SettingsLookup_contact_settings view for options!") THEN RAISE(FAIL, "Invalid contact setting; see UserLookup_contact_settings to find what settings are permitted here!")
END; END;
UPDATE request UPDATE request