mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
addresses #686
remove some comments about position() and rnd_pos() that may have been inaccurate. Will put in comments once functions are better understood git-svn-id: file:///svn/mysql/tokudb-engine/src@3650 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
b21c17ae91
commit
7039aa0f70
1 changed files with 0 additions and 17 deletions
|
@ -2415,14 +2415,6 @@ DBT *ha_tokudb::get_pos(DBT * to, uchar * pos) {
|
|||
|
||||
//
|
||||
// Retrieves a row with based on the primary key saved in pos
|
||||
// rnd_pos(), along ha_tokudb::with position(), is used for non-sequential queries.
|
||||
// the format of pos is such that position() saves a primary key in the format,
|
||||
// and rnd_pos extracts the primary key in that format
|
||||
// After extracting the primery key, rnd_pos proceeds to do a query
|
||||
// Parameters:
|
||||
// [out] buf - buffer for the row
|
||||
// [in] pos - primary key value of the row, this buffer is created
|
||||
// in ha_tokudb::position()
|
||||
// Returns:
|
||||
// 0 on success
|
||||
// HA_ERR_KEY_NOT_FOUND if not found
|
||||
|
@ -2457,15 +2449,6 @@ int ha_tokudb::rnd_pos(uchar * buf, uchar * pos) {
|
|||
RETURN
|
||||
nothing
|
||||
*/
|
||||
|
||||
//
|
||||
// Saves the primary key in a format that will be interpreted by rnd_pos()
|
||||
// rnd_pos(), along ha_tokudb::with position(), is used for non-sequential queries.
|
||||
// the format of pos is such that position() saves a primary key in the format,
|
||||
// and rnd_pos extracts the primary key in that format
|
||||
// Parameters:
|
||||
// [out] record - buffer storing the primary key
|
||||
//
|
||||
void ha_tokudb::position(const uchar * record) {
|
||||
TOKUDB_DBUG_ENTER("ha_tokudb::position");
|
||||
DBT key;
|
||||
|
|
Loading…
Reference in a new issue