Search Results
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/cmake-variables-controlling-plugin-building.html
To build a plugin that is statically compiled into the server (assuming that the plugin supports static build), add -DWITH_<PLUGIN>=1 to the CMake command line. To exclude a plugin from the build, use -DWITHOUT_<PLUGIN>=1 If neither WITH_<PLUGIN> ...
https://dev.mysql.com/doc/internals/en/comments-within-boxes.html
Please work 100% perfect when using boxes made of '#'. Bad example similar to what I found in some tests: ############################################### # # # Some text # # Some text # # # # Author : ..... # # # # Some text # # # ...
https://dev.mysql.com/doc/internals/en/cs-sect-expired-password.html
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 side exists a safeguard CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS to protect clients from running ... Since MySQL 5.6.7, a MySQL account can be expired with ALTER USER account PASSWORD ...
https://dev.mysql.com/doc/internals/en/debug-sync-activation-deactivation.html
A syntactically correct string is parsed into a debug synchronization point action and stored apart from the variable value. The Debug Sync facility is an optional part of the MySQL server. The Debug Sync Facility, when compiled in, is disabled by ...
https://dev.mysql.com/doc/internals/en/determining-authentication-method.html
Client informs about the user account it wants to log into in the Handshake Response Packet. Method used for authentication is tied to the user account and stored in the plugin column of mysql.user table. Only then server can look-up the mysql.user ...
https://dev.mysql.com/doc/internals/en/error-message-adding.html
The comp_err program compiles the text error message file or files into language-specific errmsg.sys files that each are located in the appropriate language directory under sql/share: Before MySQL 5.5, comp_err reads errmsg.txt and writes errmsg.sys ... The procedure for adding error messages depends on which version of MySQL you are using: Before MySQL 5.0.3, error messages are stored in errmsg.txt files in the language directories under ...
https://dev.mysql.com/doc/internals/en/error-messages-5-0-3-higher.html
(If there is no translation into a given language for a given error message, the message from the default language will be used.) The start-error-number line indicates the number to be assigned to the first error message. The file you edit to add a ...
https://dev.mysql.com/doc/internals/en/example-one-mysql-packet.html
A COM_QUERY for select "012345678901234567890123456789012345" without CLIENT_COMPRESS has a payload length of 46 bytes looks like: 2e 00 00 00 03 73 65 6c 65 63 74 20 22 30 31 32 .....select "012 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 ...
https://dev.mysql.com/doc/internals/en/fine-tuning-installation-paths.html
(experimental) Here is an example how to modify STANDLONE layout slightly and install libraries into the lib64 subdirectory instead of the default lib: cmake .. If you come from an Autotools background, you are familiar with options such as ...