mirror of https://github.com/django/django.git
Refs #33129 -- Added missing return statement.
Thanks to Claude Paroz for spotting it.
Regression in 221b2f85fe
.
This commit is contained in:
parent
3b9fe906bf
commit
25cbd1e6aa
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue