Bug #76062 handler::is_fk_defined_on_table_or_index unused
Submitted: 26 Feb 2015 11:43 Modified: 11 Sep 2019 13:22
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Storage Engine API Severity:S3 (Non-critical)
Version:5.6.7 OS:Any
Assigned to: CPU Architecture:Any

[26 Feb 2015 11:43] Magnus Blåudd
Description:
The function handler::is_fk_defined_on_table_or_index(uint index) is never called. Only implemented as a dummy in ha_ndbcluster with a comment saying "its seems not implemented in Innodb either"

How to repeat:
Code inspection

Suggested fix:
Please remove the function from handler.h as well as the  "implementation" in ha_ndbcluster
[12 Apr 2019 15:07] Dmitry Lenev
Posted by developer:
 
Bug #27143517 /	 #88551 "HANDLER::IS_FK_DEFINED_ON_TABLE_OR_INDEX FUNCTION
UNUSED" has been marked as a duplicate of this one.
[11 Sep 2019 13:22] Paul DuBois
Posted by developer:
 
Fixed in 8.0.19.

Code cleanup. No changelog entry required.