mirror of
https://github.com/django/django.git
synced 2025-09-28 13:04:54 +00:00
Fixed DatabaseFeatures.supports_expression_indexes on MySQL with MyISAM.
This commit is contained in:
parent
0ad5316f22
commit
24f442b91d
1 changed files with 1 additions and 0 deletions
|
@ -336,5 +336,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
def supports_expression_indexes(self):
|
||||
return (
|
||||
not self.connection.mysql_is_mariadb
|
||||
and self._mysql_storage_engine != "MyISAM"
|
||||
and self.connection.mysql_version >= (8, 0, 13)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue