Search Results
https://dev.mysql.com/doc/internals/en/implementing-index-prev-method.html
The [custom-engine.html#custom-engine-api-reference-index_prev index_prev()] method is used for reverse index scanning: int ha_foo::index_prev(byte * buf) The *buf parameter is populated with the row that corresponds to the previous matching key ...
https://dev.mysql.com/doc/internals/en/implementing-index-read-method.html
In addition to returning a matching row, the storage engine must also set a cursor to support sequential index reads. The [custom-engine.html#custom-engine-api-reference-index_read index_read()] method is used to retrieve a row based on a key: int ...
https://dev.mysql.com/doc/internals/en/implementing-the-rnd-next-method.html
As with the index_read() method, the storage engine must return the row that matches the key according to the find_flag and set a cursor for future reads.
https://dev.mysql.com/doc/internals/en/index-next.html
Usage Advance to next row in index using pointer or cursor, return row in buffer. Synopsis virtual int index_next ( buf); byte * buf ; Description This is the index_next 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.html
Positions an index cursor to the index specified in the handle. 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 ...
https://dev.mysql.com/doc/internals/en/mysql-server.html
dispatch_command Mysql-5.5 sql/sql_parse.cc:869 mysql_binlog_send Mysql-5.5 sql/sql_repl.cc:436 Mysql-5.6 sql/rpl_master.cc mysql_stmt_get_longdata Mysql-5.5 sql/sql_prepare.cc:2802 mysqld_stmt_prepare Mysql-5.5 sql/sql_prepare.cc:2165 ...Mysql-5.5 ...
https://dev.mysql.com/doc/internals/en/rnd-init.html
then the second call should prepare for the new table scan (e.g if rnd_init allocates the cursor, second call should position it to the start of the table, no need to deallocate and allocate it again Called from filesort.cc, records.cc, ...Synopsis ...
https://dev.mysql.com/doc/internals/en/tests-with-several-variants.html
Please think twice before you create engine-specific variants of a test or let runs with ps-protocol/sp-protocol/cursor-protocol/view-protocol happen. They might be of low value and a permanent wasting of resources and/or fail (protocol variants ...
https://dev.mysql.com/doc/internals/en/x-protocol-messages-messages.html
Topics in this section: Message Structure Message Sequence Common Messages Connection Session Expectations CRUD SQL Result Sets Expressions Data Types This section provides detailed information about how X Protocol defines messages. Message ...