Commit 92c14885 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1286

port fix to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@8025 c7de825b-a66e-492c-adef-691d508d4ae1
parent eb00e4d1
...@@ -3967,6 +3967,15 @@ double ha_tokudb::read_time( ...@@ -3967,6 +3967,15 @@ double ha_tokudb::read_time(
double total_scan; double total_scan;
double ret_val; 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 // if it is not the primary key, and it is not a clustering key, then return handler::read_time
// //
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment