Process/FixMysqlCharset.php
authorAlan <alan@roojs.com>
Wed, 23 Aug 2023 02:33:22 +0000 (10:33 +0800)
committerAlan <alan@roojs.com>
Wed, 23 Aug 2023 02:33:22 +0000 (10:33 +0800)
Process/FixMysqlCharset.php

index 86fb079..ffd07d7 100644 (file)
@@ -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;
-        
+    }
     
     
 }