Search Results
https://dev.mysql.com/doc/internals/en/index-prev.html
Synopsis virtual int index_prev ( buf); byte * buf ; Description This is the index_prev method.
https://dev.mysql.com/doc/internals/en/index-read-idx.html
Purpose Find a row based on a key and return. Synopsis virtual int index_read_idx ( buf, index, key, keypart_map, find_flag); byte * buf ; uint index ; const byte * key ; ulonglong keypart_map ; enum ha_rkey_function find_flag ; Description This is ...
https://dev.mysql.com/doc/internals/en/index-read-last.html
Synopsis virtual int index_read_last ( buf, key, keypart_map); byte * buf ; const byte * key ; ulonglong keypart_map ; Description This is the index_read_last method. Parameters buf key keypart_map Return Values Usage This section is still to be ...
https://dev.mysql.com/doc/internals/en/index-read.html
Purpose Find a row based on a key and return. Synopsis virtual int index_read ( buf, key, keypart_map, find_flag); byte * buf ; const byte * key ; ulonglong keypart_map ; enum ha_rkey_function find_flag ; Description This is the index_read method.
https://dev.mysql.com/doc/internals/en/mismatch-of-focus-of-test-and-code-sequence.html
CREATE TABLE t1 ( id INT NOT NULL AUTO_INCREMENT, my_column VARCHAR(30), name LONGTEXT, PRIMARY KEY (id)); INSERT INTO t1(my_column,name) VALUES('2','two'); INSERT INTO t1(my_column,name) VALUES('1','one'); INSERT INTO t1(my_column,name) ...
https://dev.mysql.com/doc/internals/en/multi-resultset.html
01 31 00 0c 3f 00 01 00 00 00 08 81 00 00 00 00 .1..?........... 05 00 00 03 fe 00 00 0a 00 02 00 00 04 01 31 05 ..............1. see the EOF_Packet: 05 00 00 03 fe 00 00 0a 00 with its status-flag being 0a the 2nd resultset: 01 00 00 06 01 17 00 00 ...
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/rnd-pos.html
Synopsis virtual int rnd_pos ( buf, pos); byte * buf ; byte * pos ; Description This is the rnd_pos method. This is like rnd_next, but you are given a position to use to determine the row. The position will be of the type that you stored in ref. You ...
https://dev.mysql.com/doc/internals/en/start-stmt.html
Purpose Called at the beginning of a statement for transaction purposes. Synopsis virtual int start_stmt ( thd, lock_type); THD * thd ; thr_lock_type lock_type ; Description This is the start_stmt method. When table is locked a statement is started ...
https://dev.mysql.com/doc/internals/en/string.html
Strings are sequences of bytes and appear in a few forms in the protocol. An example is the sql-state of the ERR_Packet which is always 5 bytes long. Implemented By string<fix> Protocol::NulTerminatedString Strings that are terminated by a [00] ...