diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-08-03 19:44:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-03 19:44:36 +0200 |
| commit | 4555a823fd57e261e1b19c778429473256c8ea08 (patch) | |
| tree | baa0bea7764cb3449c139537fae41ad7e6fd8f68 | |
| parent | b719688b21febd9a04c8623126558cd06cc27b80 (diff) | |
Refs #33713 -- Removed unnecessary version check in DatabaseFeatures.update_can_self_select on MariaDB.
Follow up to 19297de2fe5a9c47e471c64249366f39fe12f16a.
| -rw-r--r-- | django/db/backends/mysql/features.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/django/db/backends/mysql/features.py b/django/db/backends/mysql/features.py index 5af80fcb3c..abeef0549a 100644 --- a/django/db/backends/mysql/features.py +++ b/django/db/backends/mysql/features.py @@ -187,11 +187,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): @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): |
