mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
get covering index reads to work by supplying the key from the index to the read row function. addresses #705
git-svn-id: file:///svn/mysql/tokudb-engine/src@3559 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
154cd0f30b
commit
55e336f615
1 changed files with 1 additions and 1 deletions
|
@ -2202,7 +2202,7 @@ int ha_tokudb::index_read(uchar * buf, const uchar * key, uint key_len, enum ha_
|
||||||
error = HA_ERR_UNSUPPORTED;
|
error = HA_ERR_UNSUPPORTED;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
error = read_row(error, buf, active_index, &row, 0, find_flag != HA_READ_KEY_EXACT);
|
error = read_row(error, buf, active_index, &row, &last_key, find_flag != HA_READ_KEY_EXACT);
|
||||||
if (error && (tokudb_debug & TOKUDB_DEBUG_ERROR))
|
if (error && (tokudb_debug & TOKUDB_DEBUG_ERROR))
|
||||||
printf("%d:%s:%d:error:%d:%d\n", my_tid(), __FILE__, __LINE__, error, find_flag);
|
printf("%d:%s:%d:error:%d:%d\n", my_tid(), __FILE__, __LINE__, error, find_flag);
|
||||||
TOKUDB_DBUG_RETURN(error);
|
TOKUDB_DBUG_RETURN(error);
|
||||||
|
|
Loading…
Reference in a new issue