Search Results
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 ...
https://dev.mysql.com/doc/internals/en/dbug-sleep.html
In cases where the normal server code does not have a block point at the critical place, one can insert an artificial synchronization point. open_tables(...) DBUG_EXECUTE_IF("sleep_open_and_lock_after_open", { const char *old_proc_info= ...
https://dev.mysql.com/doc/internals/en/debug-sync-activation-deactivation.html
For test cases that require the Debug Sync facility, include the following line in the test case file: --source include/have_debug_sync.inc . The Debug Sync facility is an optional part of the MySQL server. The Debug Sync Facility, when compiled ...
https://dev.mysql.com/doc/internals/en/debug-sync-facility.html
The documentation here is derived from comments in the sql/debug_sync.cc source file. MySQL supports a Debug Sync Facility, which - in spite of the "debug" in its name - is completely independent from the DBUG facility (except that it uses DBUG to ...
https://dev.mysql.com/doc/internals/en/error-masking.html
Example: --error ER_BAD_DB_ERROR USE <not existing database>; You can find the error names in the include/mysqld_error.h file of a MySQL source distribution, or in the Server Error Message Reference section of the MySQL Reference Manual]. Use of the ...
https://dev.mysql.com/doc/internals/en/event-data-field-notational-caveat.html
The fixed part of the event data goes under different names, depending on which source file, work log, bug report, etc. you are reading: Sometimes it is called the "fixed data" part, as in this discussion. To make things notationally interesting, ...