Bug #73836 Remove unused InnoDB API definitions
Submitted: 8 Sep 2014 12:07 Modified: 11 Sep 2014 6:02
Reporter: Marko Mäkelä Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.7.5 OS:Any
Assigned to: CPU Architecture:Any

[8 Sep 2014 12:07] Marko Mäkelä
Description:
There are some unused definitions in the InnoDB source files api0api.h and api0api.cc. These used to be part of an Embedded InnoDB prototype. While the module is used by the InnoDB Memcached Plugin, these definitions are not needed there.

How to repeat:
Look for callers of ib_table_name_check() and users of some constants such as MAX_TEXT_LEN.

Suggested fix:
Remove the unused code.
[8 Sep 2014 13:11] Daniel Price
Posted by developer:
 
Fixed as of the upcoming 5.7.6 release, and here's the changelog entry:

Removed unused API definitions from "api0api.h" and "api0api.cc" source
files.
[11 Sep 2014 6:02] Erlend Dahl
[8 Sep 2014 6:10] Daniel T Price

Fixed as of the upcoming 5.7.6 release, and here's the changelog entry:

Removed unused API definitions from "api0api.h" and "api0api.cc" source
files.