Refs #33129 -- Added missing return statement.

Thanks to Claude Paroz for spotting it.

Regression in 221b2f85fe.
This commit is contained in:
Carlton Gibson 2021-09-23 14:36:39 +02:00 committed by Carlton Gibson
parent 3b9fe906bf
commit 25cbd1e6aa
1 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,6 @@ class MySQLIntrospection(DatabaseIntrospection):
storage_engine = self.get_storage_engine(cursor, table_name) storage_engine = self.get_storage_engine(cursor, table_name)
if storage_engine == 'InnoDB': if storage_engine == 'InnoDB':
if self.connection.mysql_is_mariadb: if self.connection.mysql_is_mariadb:
True return True
return self.connection.mysql_version >= (5, 7, 5) return self.connection.mysql_version >= (5, 7, 5)
return storage_engine in ('MyISAM', 'Aria') return storage_engine in ('MyISAM', 'Aria')