When the MySQL server is finished with a table, it will call the
method to close file pointers and release any other resources.
Storage engines that use the shared access methods seen in the
CSV engine and other example engines must
remove themselves from the shared structure:
Storage engines using their own share management systems should
use whatever methods are needed to remove the handler instance
from the share for the table opened in their handler.