1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #33713 -- Removed unnecessary version check in DatabaseFeatures.update_can_self_select on MariaDB.

Follow up to 19297de2fe.
This commit is contained in:
Mariusz Felisiak 2023-08-03 19:44:36 +02:00 committed by GitHub
parent b719688b21
commit 4555a823fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):