Search Results
https://dev.mysql.com/doc/internals/en/error-messages-storage-engine.html
To add error messages for table handlers, the following example may be helpful. Purpose: Implement the handler::get_error_message function as ha_federated::get_error_message to return the handler-specific error message. When you have returned the ...
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/event-classes-and-types.html
Internally, the server uses C++ classes to represent binary log events. Type codes are associated with subclasses because class instance contents are written to binary or relay logs or are sent over the network from master to slave. In those ...
https://dev.mysql.com/doc/internals/en/event-content-writing-conventions.html
The value of the first byte determines how to read the number, according to the following table. Event contents are written using these conventions: Numbers are written in little-endian format (least significant byte first), unless otherwise ...
https://dev.mysql.com/doc/internals/en/format-description-event.html
Binlog::FORMAT_DESCRIPTION_EVENT: A format description event is the first event of a binlog for binlog-version 4. Note added in MySQL 5.0.0 as replacement for START_EVENT_V3 Payload 2 binlog-version string[50] mysql-server version 4 create ...
https://dev.mysql.com/doc/internals/en/guided-tour-majordir-client.html
There are other utilities too in fact, you'll find the source of most client-side programs here. There are also programs for checking the password, and for testing that basic functions such as threading or access via SSL are possible. You'll notice, ...
https://dev.mysql.com/doc/internals/en/implementing-external-lock-method.html
The [custom-engine.html#custom-engine-api-reference-external_lock external_lock()] method is called at the start of a statement or when a LOCK TABLES statement is issued. Examples of using external_lock() can be found in the sql/ha_innodb.cc file, ...
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/index-file-usage.html
These are the number of columns of the table and the length of each column. While the header of the compressed data file contains a lot of information, there are still some things which need to be taken from the index file. The latter is required ...
https://dev.mysql.com/doc/internals/en/innobase-directory.html
A full description of these files can be found elsewhere in this document.