Search Results
https://dev.mysql.com/doc/connector-python/en/connector-python-tutorial-cursorbuffered.html
The following example script gives a long-overdue 15% raise effective tomorrow to all employees who joined in the year 2000 and are still with the company. (A buffered cursor fetches and buffers the rows of a result set after executing a query; see ...
https://dev.mysql.com/doc/internals/en/a-mysql-client-logs-in.html
00 00 27 75 3e 6f 38 66 79 4e 00 ff f7 08 02 00 ..'u>o8fyN...... 00 00 00 00 00 00 00 00 00 00 00 00 00 57 4d 5d .............WM] 6a 7c 53 68 32 5c 59 2e 73 00 j|Sh2\Y.s. which responds with a handshake packet which contains the version, some flags ...
https://dev.mysql.com/doc/internals/en/additional-accessors-for-plugins.html
Starting with MySQL 5.1.21 the following additional accessors are made available to all plug-ins: Full definition of MYSQL_LEX_STRING (identical to LEX_STRING from m_string.h) Full definition of MYSQL_XID (binary compatible with XID from handler.h) ...
https://dev.mysql.com/doc/internals/en/authentication-method-change.html
the client connecting to the server the server responds with the Initial Handshake Packet the client sends the Handshake Response Packet the server responds with the Authentication Method Switch Request Packet to tell the client which ...
https://dev.mysql.com/doc/internals/en/com-process-kill.html
COM_PROCESS_KILL: ask the server to terminate a connection Returns OK_Packet or ERR_Packet Payload 1 [0c] COM_PROCCESS_KILL 4 connection id . Note As of MySQL 5.7.11, COM_PROCESS_KILL is deprecated and will be removed in a future version of MySQL.
https://dev.mysql.com/doc/internals/en/com-quit.html
COM_QUIT: tells the server that the client wants to close the connection response: either a connection close or a OK_Packet Payload 1 [01] COM_QUIT Fields command (1) -- 0x01 COM_QUIT Example 01 00 00 00 01 .
https://dev.mysql.com/doc/internals/en/com-set-option.html
Enables capabilities for the current connection to be enabled and disabled: CLIENT_MULTI_STATEMENTS The option operation is one of: Operation Constant Name 0 MYSQL_OPTION_MULTI_STATEMENTS_ON 1 MYSQL_OPTION_MULTI_STATEMENTS_OFF On success it returns ...
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/error-flags.html
thd->killed Set in case of error in connection protocol or in case of 'kill'. In this case we should abort the query and kill the connection. The following flags can be examined or set to alter the behavior during error handling: ...
https://dev.mysql.com/doc/internals/en/event-data-for-specific-event-types.html
For transactional tables, there should be no event with a nonzero error code (though it can happen, for example if the connection was interrupted (Control-C)). Value is three 2-byte unsigned integers representing the character_set_client, ... The ...