Skip to content

Commit

Permalink
Refs #33713 -- Removed unnecessary version check in DatabaseFeatures.…
Browse files Browse the repository at this point in the history
…update_can_self_select on MariaDB.

Follow up to 19297de.
  • Loading branch information
felixxm authored Aug 3, 2023
1 parent b719688 commit 4555a82
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions django/db/backends/mysql/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,7 @@ def allows_auto_pk_0(self):

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

0 comments on commit 4555a82

Please sign in to comment.