From 4555a823fd57e261e1b19c778429473256c8ea08 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 3 Aug 2023 19:44:36 +0200 Subject: [PATCH] Refs #33713 -- Removed unnecessary version check in DatabaseFeatures.update_can_self_select on MariaDB. Follow up to 19297de2fe5a9c47e471c64249366f39fe12f16a. --- django/db/backends/mysql/features.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/django/db/backends/mysql/features.py b/django/db/backends/mysql/features.py index 5af80fcb3cb1..abeef0549a5c 100644 --- a/django/db/backends/mysql/features.py +++ b/django/db/backends/mysql/features.py @@ -187,11 +187,7 @@ def allows_auto_pk_0(self): @cached_property def update_can_self_select(self): - return self.connection.mysql_is_mariadb and self.connection.mysql_version >= ( - 10, - 3, - 2, - ) + return self.connection.mysql_is_mariadb @cached_property def can_introspect_foreign_keys(self):