mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
addresses #1286
port fix to main line git-svn-id: file:///svn/mysql/tokudb-engine/src@8025 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
eb00e4d1b6
commit
92c148859c
1 changed files with 9 additions and 0 deletions
|
@ -3967,6 +3967,15 @@ double ha_tokudb::read_time(
|
|||
double total_scan;
|
||||
double ret_val;
|
||||
|
||||
//
|
||||
// in case for hidden primary key, this is called
|
||||
//
|
||||
if (index >= table_share->keys) {
|
||||
ret_val = handler::read_time(index, ranges, rows);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// if it is not the primary key, and it is not a clustering key, then return handler::read_time
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue