diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-12 15:34:26 +0200 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-13 11:56:24 +0200 |
commit | fdfb3086fcba1b737ec09676ab4bb95105f3371e (patch) | |
tree | 21b28259e197b328d7b43ca3d9d3022a2202b611 /django/db/backends/mysql/features.py | |
parent | 1bdfde085763a0aae0fb07a904ca784e067b6703 (diff) | |
download | django-fdfb3086fcba1b737ec09676ab4bb95105f3371e.tar.gz |
Fixed DatabaseFeatures.supports_index_column_ordering and related tests with MyISAM storage engine.
Diffstat (limited to 'django/db/backends/mysql/features.py')
-rw-r--r-- | django/db/backends/mysql/features.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/db/backends/mysql/features.py b/django/db/backends/mysql/features.py index c4706fc1b0..a34741267a 100644 --- a/django/db/backends/mysql/features.py +++ b/django/db/backends/mysql/features.py @@ -328,6 +328,8 @@ class DatabaseFeatures(BaseDatabaseFeatures): @cached_property def supports_index_column_ordering(self): + if self._mysql_storage_engine != "InnoDB": + return False if self.connection.mysql_is_mariadb: return self.connection.mysql_version >= (10, 8) return self.connection.mysql_version >= (8, 0, 1) |