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

index f5276ac..d29b5e2 100644 (file)
@@ -105,7 +105,7 @@ class Pman_Core_Process_FixMysqlCharset extends Pman_Core_Cli {
     function disabletriggers($tbl)
     {
         $t = DB_DataObject::factory($tbl);
-        $t->query("SHOW TRIGGERS FROM {$t->databaseNickname()} where `table` = '{$tbl}");
+        $t->query("SHOW TRIGGERS FROM {$t->databaseNickname()} where `table` = '{$tbl}'");
         $t->find();
         $ar = $t->fetchAll();
         print_r($ar);exit;