From: Alan Knowles Date: Mon, 28 Nov 2016 03:56:53 +0000 (+0800) Subject: mysql/core_notify_trigger_after_update.sql X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=ec774994494088243c8f548451e7853557c26295 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 e69de29b..6f4a37df 100644 --- a/mysql/core_notify_trigger_after_update.sql +++ b/mysql/core_notify_trigger_after_update.sql @@ -0,0 +1,14 @@ + + +DROP TRIGGER IF EXISTS core_notify_trigger_after_update; + +DELIMITER $$ + + +CREATE TRIGGER core_notify_trigger_after_update + BEFORE UPDATE ON core_notify + FOR EACH ROW + BEGIN + DECLARE mid INT(11); + IF (@DISABLE_TRIGGER IS NULL AND @DISABLE_TRIGGER_{$tbl} IS NULL ) THEN + \ No newline at end of file