summaryrefslogtreecommitdiff
path: root/storage/rocksdb
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-02-26 14:52:23 +0200
committerMonty <monty@mariadb.org>2020-03-24 21:00:04 +0200
commit37393bea23d10741cf99b59ddcaffd58e9652bb9 (patch)
tree4f3e0c06407386dfe101a0fb3a21dc0f037d6b60 /storage/rocksdb
parent8eba777c2bbad7721c818936a3a0ced3b2fcd59c (diff)
downloadmariadb-git-37393bea23d10741cf99b59ddcaffd58e9652bb9.tar.gz
Replace handler::primary_key_is_clustered() with handler::pk_is_clustering_key()
This was done to both simplify the code and also to be easier to handle storage engines that are clustered on some other index than the primary key. As pk_is_clustering_key() and is_clustering_key now are using only index_flags, these where removed from all storage engines.
Diffstat (limited to 'storage/rocksdb')
-rw-r--r--storage/rocksdb/ha_rocksdb.cc1
-rw-r--r--storage/rocksdb/ha_rocksdb.h6
2 files changed, 0 insertions, 7 deletions
diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc
index efa5d3c428a..3fa13295496 100644
--- a/storage/rocksdb/ha_rocksdb.cc
+++ b/storage/rocksdb/ha_rocksdb.cc
@@ -11344,7 +11344,6 @@ ulonglong ha_rocksdb::table_flags() const
}
-
/**
@return
HA_EXIT_SUCCESS OK
diff --git a/storage/rocksdb/ha_rocksdb.h b/storage/rocksdb/ha_rocksdb.h
index 448900c5a91..426aa110597 100644
--- a/storage/rocksdb/ha_rocksdb.h
+++ b/storage/rocksdb/ha_rocksdb.h
@@ -501,12 +501,6 @@ public:
DBUG_RETURN(&key_map_full);
}
- bool primary_key_is_clustered() override {
- DBUG_ENTER_FUNC();
-
- DBUG_RETURN(true);
- }
-
bool should_store_row_debug_checksums() const {
return m_store_row_debug_checksums && (rand() % 100 < m_checksums_pct);
}