Fix mysql table engine validation (#9989)

It would never show because the schema was checked first and it would always be wrong if the table engine was myisam.
This commit is contained in:
Tony Murray
2019-03-18 21:26:49 -05:00
committed by GitHub
parent 8f48f6a7cc
commit 1111f0a027

View File

@@ -44,6 +44,7 @@ class Database extends BaseValidation
$this->checkMode($validator);
$this->checkTime($validator);
$this->checkMysqlEngine($validator);
// check database schema version
$current = get_db_schema();
@@ -71,7 +72,6 @@ class Database extends BaseValidation
$validator->warn("Your database schema ($current) is newer than expected ($latest). If you just switched to the stable release from the daily release, your database is in between releases and this will be resolved with the next release.");
}
$this->checkMysqlEngine($validator);
$this->checkCollation($validator);
$this->checkSchema($validator);
}