Search Results
https://dev.mysql.com/doc/internals/en/select-subquery.html
In expressions, subqueries (that is, subselects) are represented by Item inherited from Item_subselect. To hide difference in performing single SELECTs and UNIONs, Item_subselect uses two different engines, which provide uniform interface for ...
https://dev.mysql.com/doc/internals/en/select-union.html
We will need this object to store in every JOIN structure link on it, but we have not (yet) temporary table structure. Allocate JOIN structures and execute JOIN::prepare() for every SELECT to get full information about types of elements of SELECT ...
https://dev.mysql.com/doc/internals/en/source-files-related-to-the-binary-log.html
This section describes the files in a MySQL source tree that are most relevent to binary log processing. sql directory: log.h /log.cc: The high-level binary logging mechanism for organizing events into a sequence so that it becomes a binary log.
https://dev.mysql.com/doc/internals/en/test-faults-macros.html
DBUG_EXECUTE_IF (keyword, code) allows executing a piece of code if the appropriate dbug instruction is set. DBUG_EVALUATE_IF (keyword, val1, val2) is used in if expressions and returns val1 if the appropriate dbug instruction is set.
https://dev.mysql.com/doc/internals/en/transformations-singlerow.html
Item_singlerow_subselect will be rewritten only if it contains no FROM clause, and it is not part of UNION, and it is a scalar subquery. For now, there will be no conversion of subqueries with field or reference on top of item list (on the one ...
https://dev.mysql.com/doc/internals/en/update-row.html
Synopsis virtual int update_row ( old_data, new_data); const byte * old_data ; byte * new_data ; Description This is the update_row method. old_data will have the previous row record in it, while new_data will have the newest data in it. The server ...
https://dev.mysql.com/doc/internals/en/windows-native-authentication.html
Authentication::WindowsAuth: Name authentication_windows_client Requires CLIENT_PLUGIN_AUTH The Windows Native Authentication method is more complex than the other methods and extends the auth protocol as it has to send more data forth and back ...
https://dev.mysql.com/doc/internals/en/writing-services-for-use-from-plugins.html
Services are implemented by modifying server code in the sql directory to register the service in the plugin code, and by providing interface files in the libservices directory and under the include directory. For complete instructions on writing a ...
https://dev.mysql.com/doc/internals/en/x-protocol-expect-expectations.html
Assume the PrepareFind fails: don't execute the Execute don't try to close the stmt Mysqlx.Expect::Open([+no_error]) Mysqlx.Crud::PrepareFind(stmt_id=1, ...) // may fail Mysqlx.PreparedStmt::Execute(stmt_id=1, ...) // expectation(no_error) failed ...
https://dev.mysql.com/doc/internals/en/x-protocol-use-cases-use-cases.html
Topics in this section: Prepared Statements with Single Round-Trip Streaming Inserts SQL with Multiple Resultsets Inserting CRUD Data in a Batch Cross-Collection Update and Delete Prepared Statements with Single Round-Trip In the MySQL ...