Search Results
https://dev.mysql.com/doc/internals/en/com-query.html
COM_QUERY: A COM_QUERY is used to send the server a text-based query that is executed immediately. The server replies to a COM_QUERY packet with a COM_QUERY Response. The length of the query-string is a taken from the packet length - 1.
https://dev.mysql.com/doc/internals/en/com-stmt-execute.html
COM_STMT_EXECUTE asks the server to execute a prepared statement as identified by stmt-id. It sends the values for the placeholders of the prepared statement (if it contained any) in Binary Protocol Value form. The type of each parameter is made up ...
https://dev.mysql.com/doc/internals/en/fast-path.html
set --default-authentication-plugin=sha256_password for the MySQL server: 46 00 00 00 0a 35 2e 36 2e 37 2d 6c 6f 67 00 02 F....5.6.7-log.. set --default-auth=sha256_password for the MySQL client, provide it with the servers public-key with ...00 00 ...
https://dev.mysql.com/doc/internals/en/format-description-event.html
Note added in MySQL 5.0.0 as replacement for START_EVENT_V3 Payload 2 binlog-version string[50] mysql-server version 4 create timestamp 1 event header length string[p] event type header lengths Fields binlog-version (2) -- version of this binlog ...
https://dev.mysql.com/doc/internals/en/guided-tour-majordir-build.html
When it's done, you'll have an executable MySQL server and client. The example command line that we could use is shell> ./BUILD/compile-pentium-debug --prefix=$HOME/mysql-bin It invokes a batch file in the BUILD directory. It actually has very ...
https://dev.mysql.com/doc/internals/en/libmysql-directory.html
The idea is that, instead of producing separate mysql (client) and mysqld (server) programs, one produces a library. For example, as described in an earlier section of this manual, there is a discussion of libmysql/libmysql.c which sends packets ...
https://dev.mysql.com/doc/internals/en/position.html
Purpose Provide the MySQL server with position/offset information for last-read row. You can do something like the following to store the position: my_store_ptr(ref, ref_length, current_position); The server uses ref to store data. ref is just a ...
https://dev.mysql.com/doc/internals/en/ssl.html
The MySQL Protocol also supports encryption and authentication via SSL. The SSL suppport is announced in Initial Handshake Packet sent by the server via CLIENT_SSL and is enabled if the client returns the same capability. For an unencrypted ...The ...
https://dev.mysql.com/doc/internals/en/start-event-v3.html
Payload 2 binlog-version string[50] mysql-server version 4 create timestamp Fields binlog-version (2) -- version of this binlog format. mysql-server version (string.fix_len) -- [len=50] version of the MySQL Server that created the binlog.
https://dev.mysql.com/doc/internals/en/test-faults-macros.html
DBUG_CRASH_ENTER (function) is equivalent to DBUG_ENTER, which registers the beginning of a function but in addition allows for crashing the server while entering the function if the appropriate dbug instruction is set. DBUG_CRASH_RETURN (value) is ... DBUG_EXECUTE_IF (keyword, code) allows executing a piece of code if the appropriate dbug instruction is ...