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'))

View File

@ -286,7 +286,7 @@ MariaDB notes
.. versionadded:: 3.0
Django supports MariaDB 10.1 and higher.
Django supports MariaDB 10.2 and higher.
To use MariaDB, use the MySQL backend, which is shared between the two. See the
:ref:`MySQL notes <mysql-notes>` for more details.

View File

@ -224,6 +224,12 @@ backends.
* ``DatabaseOperations.fetch_returned_insert_columns()`` now requires an
additional ``returning_params`` argument.
Dropped support for MariaDB 10.1
--------------------------------
Upstream support for MariaDB 10.1 ends in October 2020. Django 3.1 supports
MariaDB 10.2 and higher.
Miscellaneous
-------------