#36812: Drop support for MariaDB 10.6-10.10.
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
Type: | Walls
Cleanup/optimization | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: mariadb | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):
The uuid datatype was introduced in 10.7. If we prioritize dropping this
support (scheduled anyway) then we can avoid tinkering with the test
altered in 0174a85770356fd12e4c8daa42a4f1c752ae00e6 that produces this
failure:
{{{
django.db.utils.OperationalError: (1901, "Function or expression
'cast(`field` as char(32) charset utf8mb4)' cannot be used in the
GENERATED ALWAYS AS clause of `field_copy`")
}}}
for this model:
{{{#!py
class GeneratedModelFieldWithConverters(models.Model):
field = models.UUIDField()
field_copy = models.GeneratedField(
expression=Cast("field", models.UUIDField()),
output_field=models.UUIDField(),
db_persist=True,
)
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/36812#comment:2>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.