mirror of https://github.com/django/django.git
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
|
@cached_property
|
||||||
def update_can_self_select(self):
|
def update_can_self_select(self):
|
||||||
return self.connection.mysql_is_mariadb and self.connection.mysql_version >= (
|
return self.connection.mysql_is_mariadb
|
||||||
10,
|
|
||||||
3,
|
|
||||||
2,
|
|
||||||
)
|
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def can_introspect_foreign_keys(self):
|
def can_introspect_foreign_keys(self):
|
||||||
|
|
Loading…
Reference in New Issue