mirror of
https://github.com/django/django.git
synced 2025-03-31 11:37:06 +00:00
Refs #33129 -- Added missing return statement.
Thanks to Claude Paroz for spotting it. Regression in 221b2f85febcf68629fc3a4007dc7edb5a305b91.
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)
|
||||
if storage_engine == 'InnoDB':
|
||||
if self.connection.mysql_is_mariadb:
|
||||
True
|
||||
return True
|
||||
return self.connection.mysql_version >= (5, 7, 5)
|
||||
return storage_engine in ('MyISAM', 'Aria')
|
||||
|
Loading…
x
Reference in New Issue
Block a user