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:
parent
b719688b21
commit
4555a823fd
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user