#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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019b378c6264-2767f11a-bcac-4367-afb6-fb0a3321207b-000000%40eu-central-1.amazonses.com.

Reply via email to