Search Results
https://dev.mysql.com/doc/internals/en/implementing-rollback.html
The THD parameter is used to identify the transaction that needs to be rolled back, while the bool all parameter indicates whether the entire transaction should be rolled back or just the last statement. Of the two major transactional operations, ...
https://dev.mysql.com/doc/internals/en/implementing-savepoint-release-method.html
The savepoint_release() method is called whenever a user issues the RELEASE SAVEPOINT statement: int (*savepoint_release) (THD *thd, void *sv); The *sv parameter points to the storage area that was previously passed to the savepoint_set() method.
https://dev.mysql.com/doc/internals/en/implementing-savepoint-rollback-method.html
The savepoint_rollback() method is called whenever a user issues the ROLLBACK TO SAVEPOINT statement: int (*savepoint_rollback) (THD *thd, void *sv); The *sv parameter points to the storage area that was previously passed to the savepoint_set() ...
https://dev.mysql.com/doc/internals/en/implementing-savepoint-set-method.html
The savepoint_set() method is called whenever a user issues the SAVEPOINT statement: int (*savepoint_set)(THD *thd, void *sv); The *sv parameter points to an uninitialized storage area of the size defined by savepoint_offset. When savepoint_set() ...
https://dev.mysql.com/doc/internals/en/innodb-field-contents.html
The Field Contents part of the record has all the data. There are no markers between fields, and there is no marker or filler at the end of a record. I made a table with this definition: CREATE TABLE T (FIELD1 VARCHAR(3), FIELD2 VARCHAR(3), FIELD3 ...
https://dev.mysql.com/doc/internals/en/make-test-protocols-more-understandable.html
This is especially true for tests that do the following: Suppress the printing of SQL statements and result sets Work with more than one connection . Please have the test write comments into the protocol if this makes the surrounding protocol ...
https://dev.mysql.com/doc/internals/en/myisam-concurrent-insert.html
To support concurrent inserts, every statement starts with copying MYISAM_SHARE::state.state to MI_INFO::save_state and lets MI_INFO::state point to the copy. The copy back is done in mi_update_status(), which is called from mi_lock_database() when ...
https://dev.mysql.com/doc/internals/en/netware-directory.html
(.def is a common filename extension for "definition".) The three *.sql files are short scripts of SQL statements used in testing.
https://dev.mysql.com/doc/internals/en/optimizer-constants-constant-tables.html
A MySQL constant is something more than a mere literal in the query. unique_not_null_column INT NOT NULL UNIQUE then this expression FROM Table1 ... These rules mean that a constant table has at most one row value. MySQL will evaluate a constant ...
https://dev.mysql.com/doc/internals/en/optimizer-eliminating-dead-code.html
Consider the following: WHERE (0 = 1 AND s1 = 5) Because it is never possible for this condition to be true, the EXPLAIN statement will show the words Impossible WHERE. A transformation takes place for conditions that are always true, for example: ...