21222324252627282930
if ( "MySQL".equals( databaseName ) ) { if (5 == databaseMajorVersion) return new MySQL5InnoDBDialect(); else return new MySQLInnoDBDialect(); } return null; }