Search Results
https://dev.mysql.com/doc/internals/en/guided-tour-major-directories-test.html
This creates a libmysqld/examples/test-gdbinit file which contains the required parameters for mysqltest. To run a test named some.test with the debugger in embedded mode you could do this: Run libmysqld/examples/test_run --gdb some.test. Make a ...
https://dev.mysql.com/doc/internals/en/guided-tour-oddsends.html
We've now traipsed through every significant directory created during your download of the MySQL source package. Finally, for the sake of completeness, we'll put up a list of the rest of the directories those that we haven't had occasion to mention ...
https://dev.mysql.com/doc/internals/en/handler-instantiation.html
Here is an example from the CSV engine: static handler* tina_create_handler(TABLE *table); As you can see, the method accepts a pointer to the table the handler is intended to manage, and returns a handler object. After the method header is defined, ... The first method call your storage engine needs to support is the call for a new handler ...
https://dev.mysql.com/doc/internals/en/header-of-scripts.html
For each test or auxiliary script, create a header that contains the following information: Purpose of the test or script Corresponding WL task, if there is any Creator of the test and date of creation Author of last significant change + date of ...
https://dev.mysql.com/doc/internals/en/heap-directory.html
All the MySQL table handlers (that is, the handlers that MySQL itself produces) have files with similar names and functions. Thus, this (heap) directory contains a lot of duplication of the myisam directory (for the MyISAM table handler). Such ...
https://dev.mysql.com/doc/internals/en/implementing-commit.html
To support COMMIT, create a method that matches this definition: int (*commit)(THD *thd, bool all); The method name is then listed in the commit (twelfth) entry of [custom-engine.html#custom-engine-handlerton the handlerton]. During a commit ...
https://dev.mysql.com/doc/internals/en/implementing-info-method.html
Prior to commencing a table scan, the [custom-engine.html#custom-engine-api-reference-info info()] method is called to provide extra table information to the optimizer. The information required by the optimizer is not given through return values ...
https://dev.mysql.com/doc/internals/en/implementing-rollback.html
To support ROLLBACK, create a method that matches this definition: int (*rollback)(THD *thd, bool all); The method name is then listed in the rollback (thirteenth) entry of [custom-engine.html#custom-engine-handlerton the handlerton]. Of the two ...
https://dev.mysql.com/doc/internals/en/innodb-field-contents.html
I made a table with this definition: CREATE TABLE T (FIELD1 VARCHAR(3), FIELD2 VARCHAR(3), FIELD3 VARCHAR(3)) Type=InnoDB; To understand what follows, you must know that table T has six columns — not three — because InnoDB automatically added ...
https://dev.mysql.com/doc/internals/en/logging-transactions-definitions.html
Note: N-writes include updates to N-tables, but also CREATE and DROP statements. To reason about logging different table types, we make some preliminary definitions. (D-T-table) A table that has a transactional engine is called a T-table.