diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-02-07 17:40:33 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-02-08 12:18:07 +0200 |
commit | 7660d8c94ec8c8c24e0a5eea66d55dd8d0e1c25c (patch) | |
tree | 74ed7cc5fa1974953529624e3ff35b800116c0c1 /storage/innobase/btr/btr0btr.cc | |
parent | 609d0a9194390dd0224b666bc0f822d4deaaff65 (diff) | |
download | mariadb-git-7660d8c94ec8c8c24e0a5eea66d55dd8d0e1c25c.tar.gz |
Remove dict_table_t::is_clust()
Replace all occurrences of the is_clust() method with is_primary(),
because that is what is actually meant. (Also the change buffer
tree would count as a clustered index.)
Diffstat (limited to 'storage/innobase/btr/btr0btr.cc')
-rw-r--r-- | storage/innobase/btr/btr0btr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/btr/btr0btr.cc b/storage/innobase/btr/btr0btr.cc index 0fe807ceb00..8f8ade3f2fe 100644 --- a/storage/innobase/btr/btr0btr.cc +++ b/storage/innobase/btr/btr0btr.cc @@ -4324,7 +4324,7 @@ btr_discard_only_page_on_level( /* btr_page_empty() is supposed to zero-initialize the field. */ ut_ad(!page_get_instant(block->frame)); - if (index->is_clust()) { + if (index->is_primary()) { /* Concurrent access is prevented by the root_block->lock X-latch, so this should be safe. */ index->remove_instant(); |