DB db = DBFactoryUtil.getDB();
String dbType = db.getType();
if (!dbType.equals(DB.TYPE_MYSQL)) {
return;
}
<BUG>Connection con = null;
PreparedStatement ps = null;
ResultSet rs = null;
try {
con = DataAccess.getUpgradeOptimizedConnection();

ps = con.prepareStatement("show table status");
rs = ps.executeQuery();
while (rs.next()) {</BUG>
String tableName = rs.getString("Name");

DB db = DBFactoryUtil.getDB();
String dbType = db.getType();
if (!dbType.equals(DB.TYPE_MYSQL)) {
return;
}
try (Connection connection = DataAccess.getUpgradeOptimizedConnection();
Statement statement = connection.createStatement()) {
verifyTableEngine(statement);
}
}
protected void verifyTableEngine(Statement statement) throws Exception {
try (ResultSet rs = statement.executeQuery("show table status")) {
while (rs.next()) {
String tableName = rs.getString("Name");
