February 2018
Intermediate to advanced
510 pages
16h 10m
English
After handler instantiation, the creation of the table method should be followed. The storage engine must implement the [custom-engine.html#custom-engine-api-reference-create create()] method, as shown in the following block:
virtual int create(const char *name, TABLE *form, HA_CREATE_INFO *info)=0;
The preceding displayed method should create all the necessary files but it does not open the table. The MySQL server will call separately for the table to be opened.
The *name parameter is for passing the name of the table and the *form parameter is for passing the TABLE structure. The table structure defines the table and matches the contents of tablename.frm. Storage engines must not modify the tablename.frm file as that will ...
Read now
Unlock full access