Bug #109443 Handlerton method get_tablespace is unused
Submitted: 21 Dec 2022 4:24 Modified: 30 Jan 21:22
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Storage Engine API Severity:S3 (Non-critical)
Version:8.0.31 OS:Any
Assigned to: CPU Architecture:Any
Tags: handlerton

[21 Dec 2022 4:24] Laurynas Biveinis
Description:
Handlerton method get_tablespace is never called. NDB defines it in-tree, no 3rd party engine I could check defines it.

How to repeat:
Read source code

Suggested fix:
Remove get_tablespace function pointer and get_tablespace_t type
[21 Dec 2022 7:43] MySQL Verification Team
Hello Laurynas,

Thank you for the report and feedback!

regards,
Umesh
[30 Jan 21:22] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Server 9.3.0 release, and here's the proposed changelog entry from the documentation team:

Removed the unused InnoDB and NDB handlerton get_tablespace() method.

Thank you for the bug report.