Search Results
https://dev.mysql.com/doc/internals/en/binlog-row-image.html
Otherwise, if there exists a UK where all columns have the NOT NULL attribute, then that is the PKE (if there are more than one such UKs, then one is chosen arbitrarily). Status of this subsection: finished, not reviewed, not fully implemented ...
https://dev.mysql.com/doc/internals/en/caching.html
(Note that the some of the filenames contain an incorrect spelling of the word “cache.”) Key Cache A shared cache for all B-tree index blocks in the different NISAM files. Uses hashing and reverse linked lists for quick caching of the most ...
https://dev.mysql.com/doc/internals/en/class-procedure-end-of-records.html
Prototype: virtual bool end_of_records(void); This member function is called at the very end after all result rows have been processed with calls to Section 18.1.3, “send_row()”. This is where you can send extra summary result rows as, for ...
https://dev.mysql.com/doc/internals/en/class-procedure-send-row.html
Whatever you do here is up to you, it is important to note though that to pass on the result row to the client you have to call result->send_data() yourself. Prototype: virtual int send_row(List<Item> &fields); This member is called for every ...
https://dev.mysql.com/doc/internals/en/close.html
A good time to free any resources that we have allocated. Synopsis virtual int close ( void); void ; Description This is the close method. In sql_select.cc it is only used to close up temporary tables or during the process where a temporary table is ...
https://dev.mysql.com/doc/internals/en/cmake-howto-quick-release-configuration.html
(This is optional, but if you have different versions of the compilers, it gives better control.) mkdir bld cd bld cmake .. Unix (Makefiles) To control which compiler is chosen, set the CC and CXX environment variables to name the desired C and C++ ...
https://dev.mysql.com/doc/internals/en/cmake-installation.html
Alternatively, if you have Darwinports installed, you can install the CMake port: port install cmake +gui The +gui variant causes cmake-gui to be installed as well. In the following instructions, the CMake download page is ...
https://dev.mysql.com/doc/internals/en/cmake-macro-defining-plugin.html
For example, CHECK_FUNCTION_EXISTS(epoll_wait HAVE_EPOLL_WAIT) will not automagically add "#define HAVE_EPOLL_WAIT 1" in config.h. To define a plugin, you need to add the MYSQL_ADD_PLUGIN() macro into CMakeList.txt. If you need to perform system ...
https://dev.mysql.com/doc/internals/en/cmake.html
You might also find these resources useful: Section 4.6, “Autotools to CMake Transition Guide”: If you have previously built MySQL using the GNU Autotools, this guide shows how to map common Autotools options to CMake. This chapter describes ...
https://dev.mysql.com/doc/internals/en/code-tree-representation.html
Every left branch gets a 0 bit, every right branch gets a 1 bit. The in-memory representation of the trees are two unsigned integers per node. Each describes either a leaf value or an offset (in unsigned integers relative from this node) to another ...