[t:3221], fix on main

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@27605 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2013-04-17 00:02:04 -04:00 committed by Yoni Fogel
parent bb80422ed2
commit af26debfc9

View file

@ -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(
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);
// //