projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mysql/core_notify_trigger_after_update.sql
[Pman.Core]
/
mysql
/
core_notify_trigger_after_update.sql
diff --git
a/mysql/core_notify_trigger_after_update.sql
b/mysql/core_notify_trigger_after_update.sql
index
db576b8
..
9d54284
100644
(file)
--- a/
mysql/core_notify_trigger_after_update.sql
+++ b/
mysql/core_notify_trigger_after_update.sql
@@
-10,7
+10,7
@@
CREATE TRIGGER core_notify_trigger_after_update
FOR EACH ROW
BEGIN
-- make sure that act_start does not get modified if sent is set.
FOR EACH ROW
BEGIN
-- make sure that act_start does not get modified if sent is set.
- IF OLD.sent IS NOT NULL AND ( NEW.act_start != OLD.act_start OR NEW.act_when != OLD.act_when THEN
+ IF OLD.sent IS NOT NULL AND ( NEW.act_start != OLD.act_start OR NEW.act_when != OLD.act_when
)
THEN
UPDATE `Error: Can not update core_notify act_start or when after its set` SET x = 1;
END IF;
END;
UPDATE `Error: Can not update core_notify act_start or when after its set` SET x = 1;
END IF;
END;