UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 22 Jun 2018 04:02:55 +0000 (12:02 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 22 Jun 2018 04:02:55 +0000 (12:02 +0800)
UpdateDatabase.php

index 595d691..e781832 100644 (file)
@@ -178,6 +178,10 @@ class Pman_Core_UpdateDatabase extends Pman
         
         $this->checkOpts($opts);
         
+        if (!empty($opts['debug'])) {
+            DB_DataObject::DebugLevel(1);
+        }
+        
         
         // do this first, so the innodb change + utf8 fixes column max sizes