projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6400d5d
)
Process/FixMysqlCharset.php
author
Alan
<alan@roojs.com>
Wed, 23 Aug 2023 02:33:22 +0000
(10:33 +0800)
committer
Alan
<alan@roojs.com>
Wed, 23 Aug 2023 02:33:22 +0000
(10:33 +0800)
Process/FixMysqlCharset.php
patch
|
blob
|
history
diff --git
a/Process/FixMysqlCharset.php
b/Process/FixMysqlCharset.php
index
86fb079
..
ffd07d7
100644
(file)
--- a/
Process/FixMysqlCharset.php
+++ b/
Process/FixMysqlCharset.php
@@
-137,14
+137,17
@@
class Pman_Core_Process_FixMysqlCharset extends Pman_Core_Cli {
foreach($this->triggers as $tr) {
$t = DB_DataObject::factory($tbl);
$t->query("CREATE TRIGGER {$tr['Trigger']}
- {$tr['Timing']} {$tr['Event']} ON {$tbl} FOR EACH ROW ".
- $tr['Statement']);
+ {$tr['Timing']} {$tr['Event']} ON {$tbl}
+ FOR EACH ROW
+ {$tr['Statement']}
+ }
+ );
}
exit;
-
+ }
}