Search Results
https://dev.mysql.com/doc/internals/en/determining-the-binlog-version.html
By the time you read the first event from the log you don't know what binlog version the binlog has. To determine the version correctly it has to be checked if the first event is: a FORMAT_DESCRIPTION_EVENT version = 4 a START_EVENT_V3 if ...
https://dev.mysql.com/doc/internals/en/error-messages.html
This chapter describes how error messages are defined and how to add the capability of generating error messages to a table handler.
https://dev.mysql.com/doc/internals/en/implementing-index-next-method.html
The [custom-engine.html#custom-engine-api-reference-index_next index_next()] method is used for index scanning: int ha_foo::index_next(byte * buf) The *buf parameter is populated with the row that corresponds to the next matching key value ...
https://dev.mysql.com/doc/internals/en/implementing-index-prev-method.html
The [custom-engine.html#custom-engine-api-reference-index_prev index_prev()] method is used for reverse index scanning: int ha_foo::index_prev(byte * buf) The *buf parameter is populated with the row that corresponds to the previous matching key ...
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-savepoint-release-method.html
The savepoint_release() method is called whenever a user issues the RELEASE SAVEPOINT statement: int (*savepoint_release) (THD *thd, void *sv); The *sv parameter points to the storage area that was previously passed to the savepoint_set() method.
https://dev.mysql.com/doc/internals/en/index-end.html
Purpose Indicates end of index scan, clean up any resources used. Synopsis virtual int index_end ( ); ; Description This is the index_end method. Generally it is used as a counterpart to the index_init method, cleaning up any resources allocated for ...
https://dev.mysql.com/doc/internals/en/index-init.html
Purpose Signals the storage engine that an index scan is about to occur. Synopsis virtual int index_init ( idx, sorted); uint idx ; bool sorted ; Description This is the index_init method. This method is called before an index scan, allowing the ...
https://dev.mysql.com/doc/internals/en/index-read-last.html
Synopsis virtual int index_read_last ( buf, key, keypart_map); byte * buf ; const byte * key ; ulonglong keypart_map ; Description This is the index_read_last method. Parameters buf key keypart_map Return Values Usage This section is still to be ...
https://dev.mysql.com/doc/internals/en/interaction-with-debug-option.html
Anything written to the trace is automatically writte to the --debug file.