Search Results
https://dev.mysql.com/doc/internals/en/coding-style.html
Please have a look at the C/C++ coding guidelines and apply them when they make sense. Some more or less strict rules: Try to have a good readable text flow. Avoid lines longer than ~ 100 characters unless there is no other choice. Think about a ...
https://dev.mysql.com/doc/internals/en/error-messages-old-versions.html
In practice, no new error messages should be added to error message files for versions of MySQL prior to 5.0.3. Doing so and merging the messages upward would cause error numbers to change in more recent versions. Before MySQL 5.0.3, error messages ...
https://dev.mysql.com/doc/internals/en/frm-file-format.html
Table 11.1 .frm File Header Section Offset Length Value Explanation 0000 1 fe Always 0001 1 01 Always 0002 1 09 FRM_VER (which is in include/mysql_version.h) +3 +test(create_info->varchar) 0003 1 09 See enum legacy_db_type in sql/handler.h.
https://dev.mysql.com/doc/internals/en/multi-statement.html
A multi-statement is permitting COM_QUERY to send more than one query to the server, separated by ';' characters. The client must announce that it wants multi-statements by either setting the CLIENT_MULTI_STATEMENTS capability or by using ...
https://dev.mysql.com/doc/internals/en/negative-tests.html
A "negative" test is a test for which you expect to see a failure. If an error does not occur, that itself indicates a problem. DO NOT FORGET "NEGATIVE" TESTS where we expect to see fine error messages from the server. This section contains just a ...
https://dev.mysql.com/doc/internals/en/optimizer-range-join-type.html
Some conditions can work with indexes, but over a (possibly wide) range of keys. The optimizer will use an index (range search) for column1 LIKE 'x%' but not for column1 LIKE '%x' That is, there is no range search if the first character in the ...
https://dev.mysql.com/doc/internals/en/query-event.html
Binlog::QUERY_EVENT: The query event is used to send text querys right the binlog. Post-header 4 slave_proxy_id 4 execution time 1 schema length 2 error-code if binlog-version ≥ 4: 2 status-vars length Payload string[$len] status-vars ...
https://dev.mysql.com/doc/internals/en/user-var-event.html
Binlog::USER_VAR_EVENT: Payload 4 name_length string[$len] name 1 is_null if not is_null { 1 type 4 charset 4 value_length string[$len] value if more data { 1 flags } } Fields name_length (4) -- length of name name (string.var_len) -- ...
https://dev.mysql.com/doc/internals/en/x-protocol-lifecycle-lifecycle.html
Topics in this section: Connection Session Stages of Session Setup Authentication Pipelining Max Message Length Extensions The following list describes some of the terms introduced in this section: Transport Transport layer that exchanges data: TCP ...
https://dev.mysql.com/doc/internals/en/x-protocol-xplugin-implementation-of-the-x-protocol.html
Topics in this section: Mysqlx.Sql::StmtExecute Collations The X Plugin implements the X Protocol for the MySQL Server. Mysqlx.Sql::StmtExecute StmtExecute implements several namespaces: sql The SQL interface which expects: .stmt to be a string ...