Search Results
https://dev.mysql.com/doc/internals/en/external-lock.html
Synopsis virtual int external_lock ( thd, lock_type); THD * thd ; int lock_type ; Description This is the external_lock method. The locking methods for mysql section in lock.cc has additional comments on this topic that may be useful to read. If you ...
https://dev.mysql.com/doc/internals/en/generating-browsable-binary-log-information.html
These commands create a subdirectory named html containing the HTML output: shell> doxygen -g shell> doxygen To view the top-level index page, load the html/index.html file into your browser. Source files in the sql directory of a MySQL source tree ...
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 ...