Search Results
https://dev.mysql.com/doc/internals/en/connection-phase.html
At this stage client can request SSL connection, in which case an SSL communication channel is established before client sends its authentication response. Note In case the server sent a ERR packet as first packet it will happen before the client ...
https://dev.mysql.com/doc/internals/en/cowork-with-dbug-facility.html
When running the MySQL test suite with a "debug" server (the DBUG facility is configured in) and the --debug command line option, the Debug Sync Facility writes trace messages to the DBUG trace. The following shell commands proved very useful in ...
https://dev.mysql.com/doc/internals/en/create.html
Synopsis virtual int create ( name, form, info); const char * name ; TABLE * form ; HA_CREATE_INFO * info ; Description This is the create method. When create() is called you do not need to open the table. Also, the .frm file will have already been ...
https://dev.mysql.com/doc/internals/en/creating-binary-packages.html
A package can be created in the form of a .tar.gz archive or .zip file. Using “generic” Unix build with Makefiles: make package On Windows, using Visual Studio generator: devenv mysql.sln /build relwithdebinfo /project package On Windows, CMake ...
https://dev.mysql.com/doc/internals/en/custom-engine-source-files.html
The easiest way to implement a new storage engine is to begin by copying and modifying the EXAMPLE storage engine. The files ha_example.cc and ha_example.h can be found in the storage/example directory of the MySQL 5.1 source tree. For instructions ...
https://dev.mysql.com/doc/internals/en/date-and-time-data-type-representation.html
The following table shows the storage requirements for date and time data types. Storage for these types is big endian (for memcmp() compatibility purposes), with the nonfractional part followed by the fractional part. FSP Storage 0 0 bytes 1,2 1 ...
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/describing-packets.html
If a field has a fixed value, its description shows it as a hex value in brackets like this: [00] .
https://dev.mysql.com/doc/internals/en/determining-binary-log-version.html
Given any binary log file, the information in this section describes how to determine the format in which it is written. Some important points about descriptor event formats: The v1 header fields are common to all formats. (v3 and v4 headers begin ...
https://dev.mysql.com/doc/internals/en/determining-the-binlog-version.html
By the time you read the first event from the log you don't know what binlog version the binlog has. To determine the version correctly it has to be checked if the first event is: a FORMAT_DESCRIPTION_EVENT version = 4 a START_EVENT_V3 if ...