Commit 889be002 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3221], fix on main

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@27605 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9ea09e6c
...@@ -6286,7 +6286,7 @@ double ha_tokudb::read_time( ...@@ -6286,7 +6286,7 @@ double ha_tokudb::read_time(
double total_scan; double total_scan;
double ret_val; double ret_val;
bool is_primary = (index == primary_key); bool is_primary = (index == primary_key);
bool is_clustering = (table->key_info[index].flags & HA_CLUSTERING); bool is_clustering;
// //
// in case for hidden primary key, this is called // in case for hidden primary key, this is called
...@@ -6295,6 +6295,8 @@ double ha_tokudb::read_time( ...@@ -6295,6 +6295,8 @@ double ha_tokudb::read_time(
ret_val = handler::read_time(index, ranges, rows); ret_val = handler::read_time(index, ranges, rows);
goto cleanup; goto cleanup;
} }
is_clustering = (table->key_info[index].flags & HA_CLUSTERING);
// //
......
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