summaryrefslogtreecommitdiff
path: root/storage/tokudb/ha_tokudb.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/ha_tokudb.h')
-rw-r--r--storage/tokudb/ha_tokudb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/tokudb/ha_tokudb.h b/storage/tokudb/ha_tokudb.h
index 10be517f7ea..bbc84e050b8 100644
--- a/storage/tokudb/ha_tokudb.h
+++ b/storage/tokudb/ha_tokudb.h
@@ -834,7 +834,7 @@ static inline bool key_is_clustering(const KEY *key) {
#else
static inline bool key_is_clustering(const KEY *key) {
- return key->option_struct && key->option_struct->clustering;
+ return key->flags & HA_CLUSTERING;
}
#endif