Bug #72723 Remove unused code from the InnoDB/Memcached API
Submitted: 22 May 2014 10:36 Modified: 22 May 2014 14:15
Reporter: Marko Mäkelä Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.6 OS:Any
Assigned to: CPU Architecture:Any

[22 May 2014 10:36] Marko Mäkelä
Description:
There is some unused code in storage/innobase/api0api.cc. Some of it is part of the jump table that is used for linking the InnoDB Memcached plugin to the InnoDB functions.

How to repeat:
Check which functions mapped in innodb_memcached_api[] in plugin/innodb_memcached/innodb_memcache/src/innodb_api.c are really used.

Suggested fix:
Remove the unused declarations and definitions from ha_innodb.cc, api0api.cc, api0api.h and all related InnoDB Memcached files.
[22 May 2014 14:15] Daniel Price
Fixed as of 5.7.5, and here's the changelog entry:

 Removed unused function definitions and declarations from the "InnoDB"
"memcached" API.