summaryrefslogtreecommitdiff
path: root/django/db
diff options
context:
space:
mode:
authorSkyiesac <jainsachi1202@gmail.com>2026-01-07 17:36:30 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2026-01-25 09:19:43 +0100
commitc3c9f1908e62eea528377e3788e78594a8361189 (patch)
treea3e92f1747cbc0375973fd61b032358da8f9dff0 /django/db
parent68d110f1fe593b7a368486c41cd062563a74fe0a (diff)
Fixed #36812 -- Dropped support for MariaDB < 10.11.
Diffstat (limited to 'django/db')
-rw-r--r--django/db/backends/mysql/features.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/django/db/backends/mysql/features.py b/django/db/backends/mysql/features.py
index 4f61e2bdf9..eb9601bcef 100644
--- a/django/db/backends/mysql/features.py
+++ b/django/db/backends/mysql/features.py
@@ -64,7 +64,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
@cached_property
def minimum_database_version(self):
if self.connection.mysql_is_mariadb:
- return (10, 6)
+ return (10, 11)
else:
return (8, 4)
@@ -207,8 +207,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
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 True
@cached_property
@@ -220,8 +218,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
@cached_property
def has_native_uuid_field(self):
- is_mariadb = self.connection.mysql_is_mariadb
- return is_mariadb and self.connection.mysql_version >= (10, 7)
+ return self.connection.mysql_is_mariadb
@cached_property
def allows_group_by_selected_pks(self):