mysql/core_notify_trigger_after_update.sql
authorAlan Knowles <alan@roojs.com>
Mon, 28 Nov 2016 04:02:01 +0000 (12:02 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 28 Nov 2016 04:02:01 +0000 (12:02 +0800)
mysql/core_notify_trigger_after_update.sql

index efa74ce..bd8045f 100644 (file)
@@ -11,7 +11,7 @@ CREATE TRIGGER core_notify_trigger_after_update
         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
-                  UPDATE `Error: Can not update core_notify action dates  after its set` SET x = 1;
+                  UPDATE `Error: Can not update core_notify action dates  after its sent` SET x = 1;
             END IF;
         END;