1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #30885 -- Dropped support for MariaDB 10.1.

This commit is contained in:
Mariusz Felisiak
2019-10-16 12:58:05 +02:00
committed by Carlton Gibson
parent 1c5ec221a4
commit 187a64608d
3 changed files with 8 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
@cached_property
def supports_over_clause(self):
if self.connection.mysql_is_mariadb:
return self.connection.mysql_version >= (10, 2)
return True
return self.connection.mysql_version >= (8, 0, 2)
supports_frame_range_fixed_distance = property(operator.attrgetter('supports_over_clause'))