Search Results
https://dev.mysql.com/doc/internals/en/com-query-response.html
Image description If it is not a valid Protocol::LengthEncodedInteger it is either a ERR_Packet or a Protocol::LOCAL_INFILE_Request. Image description 14.6.4.1.1 Text Resultset A Text Resultset is a possible COM_QUERY Response. It is made up of two ...
https://dev.mysql.com/doc/internals/en/determining-binary-log-version.html
Given any binary log file, the information in this section describes how to determine the format in which it is written. Some important points about descriptor event formats: The v1 header fields are common to all formats. (v3 and v4 headers begin ...
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-skeleton.html
And now we're going to walk through something harder, namely the server. WARNING WARNING WARNING: code changes constantly, so names and parameters may have changed by the time you read this. Important files we'll be walking through: /sql/mysqld.cc ...
https://dev.mysql.com/doc/internals/en/heartbeat-event.html
It is added by the master after the replication connection was idle for x-seconds to update the slave's Seconds_Behind_Master timestamp in the SHOW SLAVE STATUS output.
https://dev.mysql.com/doc/internals/en/load-data-infile-events.html
LOAD DATA INFILE is not written to the binary log like other statements. It is written as one or more events in a packed format, not as a cleartext statement in the binary log. The events indicate what options are present in the statement and how ...
https://dev.mysql.com/doc/internals/en/query-event.html
Binlog::QUERY_EVENT: The query event is used to send text querys right the binlog. Post-header 4 slave_proxy_id 4 execution time 1 schema length 2 error-code if binlog-version ≥ 4: 2 status-vars length Payload string[$len] status-vars ...
https://dev.mysql.com/doc/internals/en/start-event-v3.html
Binlog::START_EVENT_V3: A start event is the first event of a binlog for binlog-version 1 to 3. Payload 2 binlog-version string[50] mysql-server version 4 create timestamp Fields binlog-version (2) -- version of this binlog format. mysql-server ...
https://dev.mysql.com/doc/internals/en/the-myi-file.html
A .MYI file for a MyISAM table contains the table's indexes. The .MYI file has two parts: the header information and the key values. So the next sub-sections will be "The .MYI Header" and "The .MYI Key Values". The .MYI Header A .MYI file begins ...
https://dev.mysql.com/doc/internals/en/update-row.html
Synopsis virtual int update_row ( old_data, new_data); const byte * old_data ; byte * new_data ; Description This is the update_row method. old_data will have the previous row record in it, while new_data will have the newest data in it. The server ...