[Sqlalchemy-tickets] [sqlalchemy] #2839: MySQL dialect's get_foreign_keys doesn't parse options
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-10-15 20:24:20
|
#2839: MySQL dialect's get_foreign_keys doesn't parse options
--------------------------+-----------------------------------------
Reporter: uijllji | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: mysql | Severity: no triage selected yet
Keywords: foreign keys | Progress State: awaiting triage
--------------------------+-----------------------------------------
MySQL dialect's get_foreign_keys method always gives `onupdate` and
`ondelete` values of `None`. It also searches for `match`, but MySQL
doesn't implement MATCH.
The regex parsing searches for MATCH with a \w+ for the value, then ON
DELETE and ON UPDATE. I believe the \w+ will go on to match the ON DELETE
and ON UPDATE as well.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2839>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|