#16592: In MySQL, table names in unmanaged intermediate models are being lower
cased
------------------------------------+-----------------------------------
Reporter: jsdalton | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Testing framework
Version: SVN | Severity: Normal
Resolution: | Keywords: mysql
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------+-----------------------------------
Changes (by jsdalton):
* has_patch: 0 => 1
Comment:
Here's what I think.
I think the problematic behavior is due to the bugs and inconsistencies of
MySQL. I don't think there is a straightforward solution to this that
doesn't involve a lot of weird hacking around and exceptions.
First, to immediately fix the problem in this ticket, I think we should
just specify the explicit db_table table names in the test cases in all
lowercase.
Second, I think we should add a note in the documentation in which we
mention that MySQL exhibits inconsistent table name case behaviors on
different platforms, that we recommend you use all lower cased names when
specifying db_table and that using upper case letters could create
inconsistencies in certain edge cases.
Patch to address the first point is attached.
If we need to address this in documentation, I can whip up that patch as
well.
--
Ticket URL: <https://code.djangoproject.com/ticket/16592#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.