DB-745 merge clustering key is covering key for mariadb 10

This commit is contained in:
Rich Prohaska 2014-10-24 12:34:55 -04:00
parent ac995231d6
commit 57f2f606f0

View File

@ -5843,7 +5843,7 @@ int ha_tokudb::info(uint flag) {
int error = 0;
#if TOKU_CLUSTERING_IS_COVERING
for (uint i=0; i < table->s->keys; i++)
if (table->key_info[i].option_struct->clustering)
if (key_is_clustering(&table->key_info[i]))
table->covering_keys.set_bit(i);
#endif
DB_TXN* txn = NULL;