Opened 17 years ago
Closed 17 years ago
#5242 closed (fixed)
Table name matching fails during syncdb for dbs with case sensitive names.
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | Keywords: | syncdb | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The manager fails to synchronize db when the connection.features.uses_case_insensitive_names option is set but the db backend returns table_list that contains lower case names.
Attached is a patch that applies the same converter function to the table_list elements as to the model._meta.db_table in the existence check. It also works with Unicode names.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | syncdb.patch added |
---|
comment:1 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [6291]) Fixed #5242 -- Fixed table processing for some databases with case insensitive tables. Patch from Filip Wasilewski.