Bug #44963 | SQLForeignKeys incorrect update_rule/delete_rule info of cascade rule | ||
---|---|---|---|
Submitted: | 19 May 2009 19:34 | Modified: | 19 May 2009 19:50 |
Reporter: | Farid Zidan (Candidate Quality Contributor) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | OS: | Windows (XP SP3) | |
Assigned to: | CPU Architecture: | Any |
[19 May 2009 19:34]
Farid Zidan
[19 May 2009 19:50]
Jim Winstead
Connector/ODBC 3.51 always reports SQL_CASCADE for UPDATE_RULE and DELETE_RULE. Connector/ODBC 5.1 will only report the correct value for servers > 5.1. The correct value is not accessible from the server (besides parsing the output of SHOW CREATE TABLE) without INFORMATION_SCHEMA. REFERENTIAL_CONSTRAINTS. Otherwise, it also always reports SQL_CASCADE.