Search Results
https://dev.mysql.com/doc/internals/en/optimizer-partition-pruning.html
OR int_field=const2 In the source code this conversion is referred to as interval walking. 7.3.2.1.5 Partition Pruning in the Source Code Here is a short walkthrough of what is where in the code: sql/opt_range.cc: This file contains the ...
https://dev.mysql.com/doc/internals/en/variation-of-protocol-option.html
if (`SELECT $SP_PROTOCOL + $CURSOR_PROTOCOL + $VIEW_PROTOCOL > 0 OR $PS_PROTOCOL = 0`) { --skip Test requires: ps-protocol enabled, other protocols disabled } --source include/<whatever>.inc . It is usual to run tests with and without the ...
https://dev.mysql.com/doc/internals/en/variation-of-storage-engine.html
Top level script: let $engine_type= MyISAM; The same script or a sourced script: eval CREATE TABLE .... Checks of the INFORMATION_SCHEMA The storage engines to be used for information_schema tables are hardcoded. Therefore tests focussed on ...
https://dev.mysql.com/doc/internals/en/calling-sequence.html
For grouping queries add() is called once for each source row. The init callback is always called first at the beginning of a query, followed by a call to the Section 18.1.2, “change_columns()”. The Section 18.1.6, “end_of_records()” member ...
https://dev.mysql.com/doc/internals/en/charsets.html
See mysql_com.h for types */ } MYSQL_FIELD; Character set and collation information are specific to a server version and installation, and are generated automatically from the sql/share/charsets/Index.xml file in the source distribution. Character ...
https://dev.mysql.com/doc/internals/en/class-procedure-add.html
Prototype: virtual void add(void); This member function is called once for every source row for a GROUP BY query.
https://dev.mysql.com/doc/internals/en/class-procedure-end-group.html
Prototype: virtual void end_group(void); This member function is called whenever the end of a group in a GROUP BY is detected, it is called after the call to add() for the last source row in the group but before sending the actual aggregated result ...
https://dev.mysql.com/doc/internals/en/client-directory.html
The client library includes mysql.cc (the source of the mysql executable) and other utilities. Most of the utilities are mentioned in the MySQL Reference Manual. Generally these are standalone C programs which one runs in "client mode", that is, ...
https://dev.mysql.com/doc/internals/en/cmake-macro-defining-plugin.html
To define a plugin, you need to add the MYSQL_ADD_PLUGIN() macro into CMakeList.txt. If you need to perform system checks, use standard CMake techniques like CHECK_FUNCTION_EXISTS or CHECK_INCLUDE_FILE etc. For example, ...
https://dev.mysql.com/doc/internals/en/compressed-payload.html
The header of the compressed packet has the parameters of the uncompress() function in mind: ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)); The payload can be anything from a piece of a MySQL ... If the length of payload before compression is more than 0 the Compressed Packet header is followed by the compressed ...