mirror of
https://github.com/django/django.git
synced 2025-10-14 20:41:00 +00:00
Fixed #33129 -- Dropped support for MariaDB 10.2.
This commit is contained in:
parent
2f14432375
commit
221b2f85fe
12 changed files with 27 additions and 25 deletions
|
@ -348,7 +348,7 @@ functions are available on each spatial backend.
|
|||
Function PostGIS Oracle MariaDB MySQL SpatiaLite
|
||||
==================================== ======= ============== ============ =========== =================
|
||||
:class:`Area` X X X X X
|
||||
:class:`AsGeoJSON` X X X (≥ 10.2.4) X (≥ 5.7.5) X
|
||||
:class:`AsGeoJSON` X X X X (≥ 5.7.5) X
|
||||
:class:`AsGML` X X X
|
||||
:class:`AsKML` X X
|
||||
:class:`AsSVG` X X
|
||||
|
|
|
@ -52,7 +52,7 @@ geographic SRSes.
|
|||
|
||||
.. class:: AsGeoJSON(expression, bbox=False, crs=False, precision=8, **extra)
|
||||
|
||||
*Availability*: MariaDB (≥ 10.2.4), `MySQL
|
||||
*Availability*: MariaDB, `MySQL
|
||||
<https://dev.mysql.com/doc/refman/en/spatial-geojson-functions.html#function_st-asgeojson>`__ (≥ 5.7.5),
|
||||
Oracle, `PostGIS <https://postgis.net/docs/ST_AsGeoJSON.html>`__, SpatiaLite
|
||||
|
||||
|
|
|
@ -328,7 +328,7 @@ non-durable <https://www.postgresql.org/docs/current/non-durability.html>`_.
|
|||
MariaDB notes
|
||||
=============
|
||||
|
||||
Django supports MariaDB 10.2 and higher.
|
||||
Django supports MariaDB 10.3 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.
|
||||
|
@ -683,7 +683,7 @@ a :exc:`~django.db.NotSupportedError` is raised.
|
|||
Option MariaDB MySQL
|
||||
=============== ========= ==========
|
||||
``SKIP LOCKED`` X (≥10.6) X (≥8.0.1)
|
||||
``NOWAIT`` X (≥10.3) X (≥8.0.1)
|
||||
``NOWAIT`` X X (≥8.0.1)
|
||||
``OF`` X (≥8.0.1)
|
||||
``NO KEY``
|
||||
=============== ========= ==========
|
||||
|
|
|
@ -1196,9 +1196,8 @@ A field for storing JSON encoded data. In Python the data is represented in its
|
|||
Python native format: dictionaries, lists, strings, numbers, booleans and
|
||||
``None``.
|
||||
|
||||
``JSONField`` is supported on MariaDB 10.2.7+, MySQL 5.7.8+, Oracle,
|
||||
PostgreSQL, and SQLite (with the :ref:`JSON1 extension enabled
|
||||
<sqlite-json1>`).
|
||||
``JSONField`` is supported on MariaDB, MySQL 5.7.8+, Oracle, PostgreSQL, and
|
||||
SQLite (with the :ref:`JSON1 extension enabled <sqlite-json1>`).
|
||||
|
||||
.. attribute:: JSONField.encoder
|
||||
|
||||
|
|
|
@ -1793,7 +1793,7 @@ them::
|
|||
<QuerySet [<Person: ...)>, ...]>
|
||||
|
||||
The ``postgresql``, ``oracle``, and ``mysql`` database backends support
|
||||
``select_for_update()``. However, MariaDB 10.3+ only supports the ``nowait``
|
||||
``select_for_update()``. However, MariaDB only supports the ``nowait``
|
||||
argument, MariaDB 10.6+ also supports the ``skip_locked`` argument, and MySQL
|
||||
8.0.1+ supports the ``nowait``, ``skip_locked``, and ``of`` arguments. The
|
||||
``no_key`` argument is only supported on PostgreSQL.
|
||||
|
|
|
@ -223,6 +223,12 @@ backends.
|
|||
|
||||
* ...
|
||||
|
||||
Dropped support for MariaDB 10.2
|
||||
--------------------------------
|
||||
|
||||
Upstream support for MariaDB 10.2 ends in May 2022. Django 4.1 supports MariaDB
|
||||
10.3 and higher.
|
||||
|
||||
Miscellaneous
|
||||
-------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue