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(
double total_scan;
double ret_val;
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
......@@ -6296,6 +6296,8 @@ double ha_tokudb::read_time(
goto cleanup;
}
is_clustering = (table->key_info[index].flags & HA_CLUSTERING);
//
// 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