Search Results
https://dev.mysql.com/doc/internals/en/cmd-line-utils-directory.html
All the files here are "non-MySQL" files, in the sense that MySQL AB didn't produce them, it just uses them. It should be unnecessary to study the programs in these files unless you are writing or debugging a tty-like client for MySQL, such as ...
https://dev.mysql.com/doc/internals/en/creating-build-directory.html
We'll create a subdirectory bld in the source tree for this purpose: mkdir bld cd bld Note Commands for the remainder of this procedure assume that bld is the build directory and that .. One nice CMake feature is “out-of-source” build support, ...
https://dev.mysql.com/doc/internals/en/determining-binary-log-version.html
To determine the version of a binary log file, use the following procedure: 1) The file begins with a 4-byte magic number. Given any binary log file, the information in this section describes how to determine the format in which it is written. Some ...
https://dev.mysql.com/doc/internals/en/differences-master-slave.html
Any intermediate state of the slave is identical to some intermediate state of the master. Note: it is not required that each intermediate state of the master is identical to some intermediate state of the slave. We now state the architectural ...
https://dev.mysql.com/doc/internals/en/error-message-marking-obsolete.html
The following procedure shows how to do this, using the ER_HASHCHK error as an example. Beginning with MySQL 8.0, it is possible to mark an error message obsolete. This should be done only for messages that no longer used in the server code. Find ...
https://dev.mysql.com/doc/internals/en/error-message-multiple-versions.html
It is critical that error codes are identical in all versions. That is, the value of ER_SOME_ERROR must be the same in all versions for which it is defined. (The discussion uses the name errmsg.txt, but when you cross the boundary from before MySQL ...
https://dev.mysql.com/doc/internals/en/error-messages-5-0-3-higher.html
This is illegal because $2 is missing: "%1$.32s %3$.64s" Use the following procedure to add new error messages: To add a new language translation for an existing error message, find the section for the appropriate error symbol. The file you edit to ...
https://dev.mysql.com/doc/internals/en/guided-tour-majordir-mysys.html
The .c files in mysys have procedures and functions that are handy for calling by main programs, for example by the programs in the myisam directory. The next major directory is labelled mysys, which stands for MySQL System Library. This is the ...
https://dev.mysql.com/doc/internals/en/optimizer-index-merge-join-type.html
When doing Index Merge, MySQL retrieves rows for each of the keyscans and then runs them through a duplicate elimination procedure. 7.2.2.5.1 Overview Index Merge is used when table condition can be converted to form: cond_1 OR cond_2 ... OR cond_N ...
https://dev.mysql.com/doc/internals/en/optimizer-joins-access-methods.html
Bad join choices can cause more damage than bad choices in single-table searches, so MySQL developers have spent proportionally more time making sure that the tables in a query are joined in an optimal order and that optimal access methods (often ...