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

index 2352214..ddf8f5a 100644 (file)
@@ -105,6 +105,7 @@ class Pman_Core_Process_FixMysqlCharset extends Pman_Core_Cli {
     function disabletriggers($tbl)
     {
         $t = DB_DataObject::factory($tbl);
+        DB_DataObject::debugLevel(1);
         $t->query("SHOW TRIGGERS FROM {$t->databaseNickname()} where `table` = '{$tbl}'");
         if (!$t->find()) {
             return;