Fixed #30885 -- Dropped support for MariaDB 10.1.
This commit is contained in:
parent
1c5ec221a4
commit
187a64608d
|
@ -85,7 +85,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
||||||
@cached_property
|
@cached_property
|
||||||
def supports_over_clause(self):
|
def supports_over_clause(self):
|
||||||
if self.connection.mysql_is_mariadb:
|
if self.connection.mysql_is_mariadb:
|
||||||
return self.connection.mysql_version >= (10, 2)
|
return True
|
||||||
return self.connection.mysql_version >= (8, 0, 2)
|
return self.connection.mysql_version >= (8, 0, 2)
|
||||||
|
|
||||||
supports_frame_range_fixed_distance = property(operator.attrgetter('supports_over_clause'))
|
supports_frame_range_fixed_distance = property(operator.attrgetter('supports_over_clause'))
|
||||||
|
|
|
@ -286,7 +286,7 @@ MariaDB notes
|
||||||
|
|
||||||
.. versionadded:: 3.0
|
.. 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
|
To use MariaDB, use the MySQL backend, which is shared between the two. See the
|
||||||
:ref:`MySQL notes <mysql-notes>` for more details.
|
:ref:`MySQL notes <mysql-notes>` for more details.
|
||||||
|
|
|
@ -224,6 +224,12 @@ backends.
|
||||||
* ``DatabaseOperations.fetch_returned_insert_columns()`` now requires an
|
* ``DatabaseOperations.fetch_returned_insert_columns()`` now requires an
|
||||||
additional ``returning_params`` argument.
|
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
|
Miscellaneous
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue