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/compressed-payload.html
If the length of payload before compression is more than 0 the Compressed Packet header is followed by the compressed payload. It uses the deflate algorithm as defined in RFC 1951 and implemented in zlib. The header of the compressed packet has the ...
https://dev.mysql.com/doc/internals/en/delete-row.html
Synopsis virtual int delete_row ( buf); const byte * buf ; Description This is the delete_row method. buf will contain a copy of the row to be deleted. The server will call this right after the current row has been called (from either a previous ...
https://dev.mysql.com/doc/internals/en/extra.html
Purpose Passes hints from the server to the storage engine. Synopsis virtual int extra ( operation); enum ha_extra_function operation ; Description This is the extra method. extra() is called whenever the server wishes to send a hint to the storage ...
https://dev.mysql.com/doc/internals/en/full-text-search.html
MySQL uses Ranking with Vector Spaces for ordinary full-text queries. Rank, also known as relevance rank, also known as relevance measure, is a number that tells us how good a match is. Vector Space, which MySQL sometimes calls "natural language", ...
https://dev.mysql.com/doc/internals/en/guided-tour-chunk.html
Now, having finished with our bird's eye view of the source code from the air, let's take the perspective of the worms on the ground (which is another name for MySQL's developer staff -- turn on laugh track here). if (updated && (error <= 0 || ...
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/implementing-savepoint-rollback-method.html
The savepoint_rollback() method is called whenever a user issues the ROLLBACK TO SAVEPOINT statement: int (*savepoint_rollback) (THD *thd, void *sv); The *sv parameter points to the storage area that was previously passed to the savepoint_set() ...
https://dev.mysql.com/doc/internals/en/implementing-savepoint-set-method.html
The savepoint_set() method is called whenever a user issues the SAVEPOINT statement: int (*savepoint_set)(THD *thd, void *sv); The *sv parameter points to an uninitialized storage area of the size defined by savepoint_offset. When savepoint_set() ...
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 ...