Search Results
https://dev.mysql.com/doc/internals/en/error-messages-storage-engine.html
When you have returned the error message it will be passed to MySQL and formatted as Got error %d '%-.100s' from %s. To add error messages for table handlers, the following example may be helpful. Purpose: Implement the handler::get_error_message ...
https://dev.mysql.com/doc/internals/en/event-class-archaeological-notes.html
Despite the "V3" in the type code name, START_EVENT_V3 currently is used as the type code not only for v3 start events, but also for v1 start events. The original symbol for type code 1 was START_EVENT in the format now known as v1. Later, when v3 ...
https://dev.mysql.com/doc/internals/en/fast-path.html
set --default-authentication-plugin=sha256_password for the MySQL server: 46 00 00 00 0a 35 2e 36 2e 37 2d 6c 6f 67 00 02 F....5.6.7-log.. set --default-auth=sha256_password for the MySQL client, provide it with the servers public-key with ...00 00 ...
https://dev.mysql.com/doc/internals/en/generating-browsable-binary-log-information.html
Source files in the sql directory of a MySQL source tree or source distribution contain comments that can be processed with doxygen to generate HTML files that describe classes, files, and so forth. To generate the HTML files and view information ...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 ...
https://dev.mysql.com/doc/internals/en/guided-tour-major-directories-test.html
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. This creates a libmysqld/examples/test-gdbinit file which contains the required parameters for mysqltest. If you ...
https://dev.mysql.com/doc/internals/en/guided-tour-oddsends.html
Source Code Administration Directories: SCCS Common .h Files: include GNU Readline library and related: cmd-line-utils Stand-alone Utility & Test Programs: extra mysql-test repl-tests support-files tests tools You don't have to worry about the ...
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-rnd-init-method.html
The following example is from the CSV storage engine: int ha_tina::rnd_init(bool scan) { DBUG_ENTER("ha_tina::rnd_init"); current_position= next_position= 0; records= 0; chain_ptr= chain; DBUG_RETURN(0); } If the scan parameter is true, the MySQL ...
https://dev.mysql.com/doc/internals/en/implementing-rnd-next-method.html
After the table is initialized, the MySQL server will call the handler's [custom-engine.html#custom-engine-api-reference-rnd_next rnd_next()] method once for every row to be scanned until the server's search condition is satisfied or an end of file ...The rnd_next() method takes a single byte array parameter named ...
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 ...