#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:  0
    Needs documentation:  0         |    Needs tests:  0
Patch needs improvement:  0         |  Easy pickings:  0
                  UI/UX:  0         |
------------------------------------+-----------------------------------
Changes (by ramiro):

 * needs_docs:   => 0
 * needs_better_patch:   => 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/16592#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.

Reply via email to