projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f12be43
)
mysql/core_notify_trigger_after_update.sql
author
Alan Knowles
<alan@roojs.com>
Mon, 28 Nov 2016 03:56:53 +0000
(11:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 28 Nov 2016 03:56:53 +0000
(11:56 +0800)
mysql/core_notify_trigger_after_update.sql
patch
|
blob
|
history
diff --git
a/mysql/core_notify_trigger_after_update.sql
b/mysql/core_notify_trigger_after_update.sql
index
e69de29
..
6f4a37d
100644
(file)
--- 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