mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
addresses #1803
implement ha_tokudb::index_read_last using same implementation as every other storage engine git-svn-id: file:///svn/mysql/tokudb-engine/src@12705 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
92408df7f5
commit
b8a7d1383b
2 changed files with 6 additions and 2 deletions
|
@ -3618,6 +3618,12 @@ cleanup:
|
|||
TOKUDB_DBUG_RETURN(error);
|
||||
}
|
||||
|
||||
|
||||
int ha_tokudb::index_read_last(uchar * buf, const uchar * key, uint key_len) {
|
||||
return(index_read(buf, key, key_len, HA_READ_PREFIX_LAST));
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Reads the previous row from the active index (cursor) into buf, and advances cursor
|
||||
// Parameters:
|
||||
|
|
|
@ -340,9 +340,7 @@ public:
|
|||
int index_end();
|
||||
int index_next_same(uchar * buf, const uchar * key, uint keylen);
|
||||
int index_read(uchar * buf, const uchar * key, uint key_len, enum ha_rkey_function find_flag);
|
||||
#if 0
|
||||
int index_read_last(uchar * buf, const uchar * key, uint key_len);
|
||||
#endif
|
||||
int index_next(uchar * buf);
|
||||
int index_prev(uchar * buf);
|
||||
int index_first(uchar * buf);
|
||||
|
|
Loading…
Add table
Reference in a new issue