Documentation Home
MySQL Internals Manual

23.11 Closing a Table

When the MySQL server is finished with a table, it will call the [custom-engine.html#custom-engine-api-reference-close close()] 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:

int ha_tina::close(void)

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.