class Pman_Core_UpdateDatabase_MysqlEngineCharset {
var $dburl;
- var $schema;
- var $links;
+ var $schema = array();
+ var $links = array();
function __construct()
{
$iniCache = $ff->DB_DataObject[$dbini];
+ if (!file_exists($iniCache)) {
+ return;
+ }
$this->schema = parse_ini_file($iniCache, true);
$this->links = parse_ini_file(preg_replace('/\.ini$/', '.links.ini', $iniCache), true);
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";
table_name = '{$tbl}'
");
- $ce->fetch();
+ if (!$ce->fetch()) {
+ continue;
+ }
if($ce->engine == 'InnoDB' ){
echo "InnoDB: SKIP $tbl\n";