Search



Search Results
Displaying 161 to 170 of 693 total results
https://dev.mysql.com/doc/internals/en/implementing-position-method.html
The [custom-engine.html#custom-engine-api-reference-position position()] method is called after every call to rnd_next() if the data needs to be reordered: void ha_foo::position(const byte *record) It stores a "position" of a record in this->ref.
https://dev.mysql.com/doc/internals/en/implementing-records-in-range-method.html
The [custom-engine.html#custom-engine-api-reference-records_in_range records_in_range()] method is called by the optimizer to assist in choosing which index on a table to use for a query or join. It is defined as follows: ha_rows ...
https://dev.mysql.com/doc/internals/en/implementing-rnd-init-method.html
The method called before any table scan is the [custom-engine.html#custom-engine-api-reference-rnd_init rnd_init()] method. The rnd_init() method is used to prepare for a table scan, resetting counters and pointers to the start of the table. The ...
https://dev.mysql.com/doc/internals/en/implementing-rnd-pos-method.html
The [custom-engine.html#custom-engine-api-reference-rnd_pos rnd_pos()] method behaves in a similar fashion to the rnd_next() method but takes an additional parameter: int ha_foo::rnd_pos(byte * buf, byte *pos) The *pos parameter contains ...
https://dev.mysql.com/doc/internals/en/implementing-rollback.html
Of the two major transactional operations, ROLLBACK is the more complicated to implement. All operations that occurred during the transaction must be reversed so that all rows are unchanged from before the transaction began. To support ROLLBACK, ...
https://dev.mysql.com/doc/internals/en/implementing-store-lock-method.html
The [custom-engine.html#custom-engine-api-reference-store_lock store_lock()] method is called before any reading or writing is performed. Before adding the lock into the table lock handler mysqld calls store lock with the requested locks. Store ...
https://dev.mysql.com/doc/internals/en/implementing-the-info-method.html
The optimizer requests an update of table information by calling the [custom-engine.html#custom-engine-api-reference-info handler::info()] method. The info() method does not have a return value, instead it is expected that the storage engine will ...
https://dev.mysql.com/doc/internals/en/mysql-services-for-plugins.html
As of MySQL 5.5, plugins have access to server “services.” The services interface exposes server functionality that plugins can call. It complements the plugin API and has these characteristics: Services enable plugins to access code inside the ...
https://dev.mysql.com/doc/internals/en/opening-a-table.html
Before any read or write operations are performed on a table, the MySQL server will call the [custom-engine.html#custom-engine-api-reference-open handler::open()] method to open the table data and index files (if they exist). int open(const char ...
https://dev.mysql.com/doc/internals/en/preparing-for-index-use.html
The [custom-engine.html#custom-engine-api-reference-index_init index_init()] method is called before an index is used to allow the storage engine to perform any necessary preparation or optimization: int ha_foo::index_init(uint keynr, bool sorted) ...
Displaying 161 to 170 of 693 total results