Opened 10 years ago

Closed 10 years ago

#3775 closed (fixed)

mysql_old backend use mysql backend

Reported by: anonymous Owned by: Adrian Holovaty
Component: inspectdb Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: UI/UX:


Attachments (1)

mysql_old_patch.patch (407 bytes) - added by karsu 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by karsu

Attachment: mysql_old_patch.patch added

comment:1 Changed 10 years ago by Simon G. <dev@…>

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

Can you provide more info about this? why is this needed? what does it do?

comment:2 Changed 10 years ago by karsu

I underestand that mysql_old is compatible support for people who can't upgrade MySQLdb immediately. Without this patch I can't use django with mysql with older version than MySQLdb-1.2.1p2.

If I try to use mysql_old and run python syncdb it will raise ImportError "MySQLdb-1.2.1p2 or newer is required;".

Problem is mysql_old '' imports from django.db.backends.mysql.base import quote_name not from django.db.backends.mysql_old.base import quote_name file.

comment:3 Changed 10 years ago by Michael Radziej <mir@…>

Component: Database inspectdb
Has patch: set
Patch needs improvement: set
Resolution: invalid
Status: closedreopened
Triage Stage: UnreviewedAccepted

Ah ... and the patch is for the directory django/db/backends/mysql_old! That makes sense, but it wasn't at all obvious.

Please provide a little bit more background when you write a ticket. As we don't see
what you're doing, it's sometimes hard to understand. Also, patches should contain
the full path from the django source directory, so there's no doubt about which directory
you mean.

I checked 'patch needs improvement' since the patch should really have the full path before
core developers deal with it.

comment:4 Changed 10 years ago by Malcolm Tredinnick

Resolution: fixed
Status: reopenedclosed

Fixed in [4768]. Thanks.

Note: See TracTickets for help on using tickets.
Back to Top