Search Results
https://dev.mysql.com/doc/internals/en/bitmaps.html
Specifically there are functions for setup or teardown (bitmap_init, bitmap_free), for setting and clearing individual bits or whole sections of the bitmap (bitmap_set_bit, bitmap_fast_test_and_set, bitmap_clear_all, bitmap_set_all, ...
https://dev.mysql.com/doc/internals/en/com-stmt-execute.html
COM_STMT_EXECUTE asks the server to execute a prepared statement as identified by stmt-id. It sends the values for the placeholders of the prepared statement (if it contained any) in Binary Protocol Value form. The type of each parameter is made up ...
https://dev.mysql.com/doc/internals/en/controlling-compilers-and-flags.html
To define which C and C++ compilers to use, you can define the CC and CXX environment variables. For example: shell> CC=gcc shell> CXX=g++ shell> export CC CXX To specify your own C and C++ compiler flags, for flags that do not affect optimization, ...
https://dev.mysql.com/doc/internals/en/creating-build-directory.html
One nice CMake feature is “out-of-source” build support, which means not building in the source tree, but in a dedicated build directory. The build directory can actually be a subdirectory of the source tree rather than a directory located ...
https://dev.mysql.com/doc/internals/en/guided-tour-majordir-myisam.html
We will begin by mentioning that myisam is one of what we call the MySQL storage engine directories. But the files in those directories are mostly analogues of what's in the myisam directory, and the myisam directory is sort of a 'template'. On the ...
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/huffman-compression.html
In his article from 1952 Huffman proved that his algorithm uses the least possible number of bits to encode a sequence of messages. The number of bits assigned to each message depends on its probability to appear in the sequence. One could take all ...
https://dev.mysql.com/doc/internals/en/innodb-mutex-rwlock-implementation.html
In MySQL and InnoDB, multiple threads of execution access shared data structures. InnoDB synchronizes these accesses with its own implementation of mutexes and read/write locks. Historically, InnoDB protected the internal state of a read/write lock ...
https://dev.mysql.com/doc/internals/en/layout-record-storage-frame.html
MI_MIN_BLOCK_LENGTH 20 /* 20 bytes are required for the biggest frame type: Deleted block. */ MI_MAX_BLOCK_LENGTH 16777212 /* 16MB - 4, max 3 bytes for length available, 4-byte aligned. data_len is the number of bytes within this block that are ...
https://dev.mysql.com/doc/internals/en/rows-event.html
repeat rows until event-end Fields table_id (6) -- If the table id is 0x00ffffff it is a dummy event that should have the end of statement flag set that declares that all table maps can be freed. Note if the post_header_length in the ...