Search Results
https://dev.mysql.com/doc/internals/en/com-shutdown.html
Note COM_SHUTDOWN is deprecated as of MySQL 5.7.9 and removed in MySQL 8.0.
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/cs-sect-expired-password.html
Since MySQL 5.6.7, a MySQL account can be expired with ALTER USER account PASSWORD EXPIRE. All other statements fail with an error like this: mysql> SELECT 1; ERROR 1820 (HY000): You must SET PASSWORD before executing this statement On the protocol ...If a account is expired, the session is in a restricted mode which only permits SET PASSWORD ...
https://dev.mysql.com/doc/internals/en/debug-sync-activation-deactivation.html
To enable it, start mysqld with the --debug-sync-timeout[=N] option, where N is a timeout value greater than 0. The Debug Sync facility is an optional part of the MySQL server. N becomes the default timeout for the WAIT_FOR action of individual ...
https://dev.mysql.com/doc/internals/en/determining-binary-log-version.html
However, there are some exceptional conditions that must be accounted for: Exceptional Condition 1: In MySQL 4.0 and 4.1, the initial event in a binary log file might not be a start event. If a log file begins with an event that is not ... Given any ...
https://dev.mysql.com/doc/internals/en/event-flags.html
(This is the only case when MySQL modifies an already written part of a binary log file). LOG_EVENT_THREAD_SPECIFIC_F = 0x4 (New in 4.1.0) Used only by mysqlbinlog (not by the replication code at all) to be able to deal properly with temporary ...
https://dev.mysql.com/doc/internals/en/extra-directory.html
These programs are all standalone utilities, that is, they have a main() function and their main role is to show information that the MySQL server needs or produces. perror.c --- "print error" --- given error number, display message replace.c --- ...
https://dev.mysql.com/doc/internals/en/gnu-debugger.html
Once you've got something that runs, you can put a debugger on it. We recommend use of the GNU debugger http://www.gnu.org/software/gdb/documentation/ And many developers use the graphical debugger tool DDD - Data Display Debugger ...
https://dev.mysql.com/doc/internals/en/guided-tour-majordir-mysys.html
The next major directory is labelled mysys, which stands for MySQL System Library. Sampling of programs on mysql-5.0/mysys size name comment ---- ---- ------- 17684 charset.c character sets 6165 mf_qsort.c quicksort 5609 mf__tempfile.c temporary ...
https://dev.mysql.com/doc/internals/en/guided-tour-recap.html
We worked hard to make a description of the MySQL source that is simple, without distorting. If you ended up thinking that MySQL is really simple, well that is not what we wanted to convey, but we think you'll be disabused of that notion when you ...