MySQL dialect's get_foreign_keys doesn't parse options
Issue #2839
resolved
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.
Comments (5)
-
repo owner -
repo owner comment deleted, wrong ticket
-
repo owner - changed milestone to 0.9.0
AFAICT this is failing strictly because CASCADE has been spelled wrong for many years:
kw['on']('on') = 'RESTRICT|CASCASDE|SET NULL|NOACTION'
-
repo owner - changed status to resolved
-
repo owner - removed milestone
Removing milestone: 0.9.0 (automated comment)
- Log in to comment