mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
addresses #973
just unpacking key has problems when the key is a substring of a column. MySQL still reports that it is a covering index, must back out previous change git-svn-id: file:///svn/mysql/tokudb-engine/src@4782 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
ea35126a84
commit
b75787e10b
1 changed files with 1 additions and 6 deletions
|
@ -2331,12 +2331,7 @@ int ha_tokudb::read_row(int error, uchar * buf, uint keynr, DBT * row, DBT * fou
|
|||
unpack_row(buf, ¤t_row, &key);
|
||||
}
|
||||
else {
|
||||
if (key_read && !hidden_primary_key) {
|
||||
unpack_key(buf, found_key, keynr);
|
||||
}
|
||||
else {
|
||||
unpack_row(buf, row, found_key);
|
||||
}
|
||||
unpack_row(buf, row, found_key);
|
||||
}
|
||||
if (found_key) { DBUG_DUMP("read row key", (uchar *) found_key->data, found_key->size); }
|
||||
TOKUDB_DBUG_RETURN(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue