mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
[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:
parent
bb80422ed2
commit
af26debfc9
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue