UpdateDatabase/MysqlLinks.php
authoredward <edward@roojs.com>
Thu, 10 Dec 2015 06:40:42 +0000 (14:40 +0800)
committeredward <edward@roojs.com>
Thu, 10 Dec 2015 06:40:42 +0000 (14:40 +0800)
UpdateDatabase/MysqlLinks.php

index c25851e..d54c16b 100644 (file)
@@ -460,7 +460,12 @@ class Pman_Core_UpdateDatabase_MysqlLinks {
                         T.table_name = '{$tbl}' COLLATE utf8_unicode_ci
             ");
                      
+            $ce->fetch();
             
+            if($ce->csname == 'utf8' && $ce->collatename == 'utf8_unicode_ci'){
+                echo "$tbl is Already utf8 \n";
+                continue;
+            }