projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b01f720
)
UpdateDatabase/MysqlLinks.php
author
Alan Knowles
<alan@roojs.com>
Tue, 15 Dec 2015 04:15:20 +0000
(12:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 15 Dec 2015 04:15:20 +0000
(12:15 +0800)
UpdateDatabase/MysqlLinks.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase/MysqlLinks.php
b/UpdateDatabase/MysqlLinks.php
index
b206a99
..
def0dd9
100644
(file)
--- a/
UpdateDatabase/MysqlLinks.php
+++ b/
UpdateDatabase/MysqlLinks.php
@@
-252,7
+252,7
@@
class Pman_Core_UpdateDatabase_MysqlLinks {
FOR EACH ROW
BEGIN
DECLARE mid INT(11);
-
+ if (@DISABLE_TRIGGER IS NULL AND @DISABLE_TRIGGER_{$target_table} IS NULL ) THEN
";
foreach($map as $source_col=>$target) {
@@
-294,6
+294,7
@@
class Pman_Core_UpdateDatabase_MysqlLinks {
}
$trigger .= "
+ END IF;
END
";