#16593: Quick fix for proxy_model_inheritance tests
-------------------------------------+-------------------------------------
Reporter: jsdalton | Owner: nobody
Type: | Status: new
Cleanup/optimization | Component: Testing framework
Milestone: | Severity: Normal
Version: SVN | Keywords:
Resolution: | Has patch: 0
Triage Stage: Accepted | Needs tests: 0
Needs documentation: 0 | Easy pickings: 1
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by ramiro):
* needs_better_patch: => 0
* needs_docs: => 0
* component: Database layer (models, ORM) => Testing framework
* needs_tests: => 0
* stage: Unreviewed => Accepted
Comment:
I can't reproduce this on Linux.
This seem to be caused by a combination of a) the fact that the InnoDB
MySQL storage engine force table names to lowercase when creating the
corresponding files on disk and b) The fact that the default value for the
`lower_case_table_names` MySQL setting is 2 under Mac OS X.
The kind of errors we did'n notice among the vast amount of errors and
failures we had when running the tets suite innodb before r16590.
See http://dev.mysql.com/doc/refman/5.0/en/identifier-case-
sensitivity.html and http://dev.mysql.com/doc/refman/5.0/en/server-system-
variables.html#sysvar_lower_case_table_names
Maybe we can workaround this by simply changing the `'db_table'` values
used in `unmanaged_models` models to lowercase.
--
Ticket URL: <https://code.djangoproject.com/ticket/16593#comment:1>
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.