fix: refs #8087 correct SQL query to use alias for isRaid in entry_beforeUpdate trigger
gitea/salix/pipeline/pr-master This commit looks good
Details
gitea/salix/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
3057d80e76
commit
e6df9d426f
|
@ -38,7 +38,7 @@ BEGIN
|
|||
CALL travel_throwAwb(NEW.travelFk);
|
||||
END IF;
|
||||
|
||||
SELECT isRaid INTO vIsRaid
|
||||
SELECT t.isRaid INTO vIsRaid
|
||||
FROM travel t
|
||||
JOIN entry e ON e.travelFk = t.id
|
||||
WHERE e.id = NEW.id;
|
||||
|
|
Loading…
Reference in New Issue