Re: [Django] #33802: Q objects to match an empty string in CheckConstraint results in invalid SQL using MySQL

2 views
Skip to first unread message

Django

unread,
Jun 23, 2022, 2:09:01 PM6/23/22
to django-...@googlegroups.com
#33802: Q objects to match an empty string in CheckConstraint results in invalid
SQL using MySQL
-----------------------------+--------------------------------------
Reporter: Phil Gyford | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: 4.0
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------

Comment (by Phil Gyford):

Fair enough!

Very strange. I’ve tried several variations and always had the same error,
but I’ve only tried it with this one MariaDB-using project, and one other
that used SQLite (that didn’t have the error).

--
Ticket URL: <https://code.djangoproject.com/ticket/33802#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages