0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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

View File

@ -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')