From ec774994494088243c8f548451e7853557c26295 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 28 Nov 2016 11:56:53 +0800 Subject: [PATCH] mysql/core_notify_trigger_after_update.sql --- mysql/core_notify_trigger_after_update.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.39.2