UpdateDatabase/MysqlEngineCharset.php
authorAlan Knowles <alan@roojs.com>
Thu, 10 Nov 2016 06:32:29 +0000 (14:32 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 10 Nov 2016 06:32:29 +0000 (14:32 +0800)
UpdateDatabase/MysqlEngineCharset.php

index 55fd0f2..6ec6706 100644 (file)
@@ -77,7 +77,9 @@ class Pman_Core_UpdateDatabase_MysqlEngineCharset {
                         T.table_name = '{$tbl}' -- COLLATE utf8_general_ci
             ");
                      
-            $ce->fetch();
+            if (!$ce->fetch()) {
+                continue;
+            }
             
             if($ce->csname == 'utf8' && $ce->collatename == 'utf8_general_ci'){
                 echo "utf8: SKIP $tbl\n";