mirror of https://github.com/django/django.git
Fixed DatabaseFeatures.supports_expression_indexes on MySQL with MyISAM.
This commit is contained in:
parent
0ad5316f22
commit
24f442b91d
|
@ -336,5 +336,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
||||||
def supports_expression_indexes(self):
|
def supports_expression_indexes(self):
|
||||||
return (
|
return (
|
||||||
not self.connection.mysql_is_mariadb
|
not self.connection.mysql_is_mariadb
|
||||||
|
and self._mysql_storage_engine != "MyISAM"
|
||||||
and self.connection.mysql_version >= (8, 0, 13)
|
and self.connection.mysql_version >= (8, 0, 13)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue