mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
Refs #33713 -- Removed unnecessary version check in DatabaseFeatures.update_can_self_select on MariaDB.
Follow up to 19297de2fe5a9c47e471c64249366f39fe12f16a.
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…
x
Reference in New Issue
Block a user