Commit 550f8c66 by Jose Antonio

Issue #250, closed

Reload triggers-session-constraints.sql on DEV
parent c38782c5
......@@ -264,9 +264,10 @@ thisTrigger: BEGIN
-- Show and resumesession actions creates new tries
CASE NEW.type
WHEN 'Show' THEN
IF (idopentry IS NOT NULL) THEN
INSERT INTO try(`id_ws`)
VALUES (idws);
VALUES (idws);
END IF;
WHEN 'pausesession' THEN
......@@ -276,7 +277,12 @@ thisTrigger: BEGIN
result = 'DISCARDED'
WHERE
id = idopentry;
END IF;
UPDATE stu_opentry
SET id_opentry=NULL
WHERE id_ws = idws;
END IF;
WHEN 'resumesession' THEN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment