projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc5a106
)
Process/FixMysqlCharset.php
author
Alan
<alan@roojs.com>
Wed, 23 Aug 2023 02:33:59 +0000
(10:33 +0800)
committer
Alan
<alan@roojs.com>
Wed, 23 Aug 2023 02:33:59 +0000
(10:33 +0800)
Process/FixMysqlCharset.php
patch
|
blob
|
history
diff --git
a/Process/FixMysqlCharset.php
b/Process/FixMysqlCharset.php
index
ffd07d7
..
4908db1
100644
(file)
--- a/
Process/FixMysqlCharset.php
+++ b/
Process/FixMysqlCharset.php
@@
-136,12
+136,12
@@
class Pman_Core_Process_FixMysqlCharset extends Pman_Core_Cli {
DB_DataObject::debugLevel(1);
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']}
- }
- );
+ $t->query("
+ CREATE TRIGGER {$tr['Trigger']}
+ {$tr['Timing']} {$tr['Event']} ON {$tbl}
+ FOR EACH ROW
+
{$tr['Statement']
}
+
"
);