fix: refs #8087 correct SQL join condition in entry_beforeUpdate trigger #3246
|
@ -38,7 +38,7 @@ BEGIN
|
||||||
CALL travel_throwAwb(NEW.travelFk);
|
CALL travel_throwAwb(NEW.travelFk);
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
SELECT isRaid INTO vIsRaid
|
SELECT t.isRaid INTO vIsRaid
|
||||||
FROM travel t
|
FROM travel t
|
||||||
JOIN entry e ON e.travelFk = t.id
|
JOIN entry e ON e.travelFk = t.id
|
||||||
WHERE e.id = NEW.id;
|
WHERE e.id = NEW.id;
|
||||||
|
|
Loading…
Reference in New Issue