summaryrefslogtreecommitdiff
path: root/storage/innobase/ibuf
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-03-22 19:40:38 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-03-29 20:47:37 +0300
commit604fea1ad6d7b0463e5a30471a04b3b417467df9 (patch)
treeb63dff83d808833c34fcbaa46bdc7ddae5bdc776 /storage/innobase/ibuf
parente7980f9cee3cf2c18ebb5871ca4bfcfe4f870169 (diff)
downloadmariadb-git-604fea1ad6d7b0463e5a30471a04b3b417467df9.tar.gz
MDEV-12266: Remove dict_index_t::space
We can rely on the dict_table_t::space. All indexes of a table object are always in the same tablespace. (For fulltext indexes, the data is located in auxiliary tables, and these will continue to have their own table objects, separate from the main table.)
Diffstat (limited to 'storage/innobase/ibuf')
-rw-r--r--storage/innobase/ibuf/ibuf0ibuf.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/innobase/ibuf/ibuf0ibuf.cc b/storage/innobase/ibuf/ibuf0ibuf.cc
index a88084c369f..a337be68ff9 100644
--- a/storage/innobase/ibuf/ibuf0ibuf.cc
+++ b/storage/innobase/ibuf/ibuf0ibuf.cc
@@ -561,7 +561,7 @@ ibuf_init_at_db_start(void)
ibuf->index = dict_mem_index_create(
"innodb_change_buffer", "CLUST_IND",
- IBUF_SPACE_ID, DICT_CLUSTERED | DICT_IBUF, 1);
+ DICT_CLUSTERED | DICT_IBUF, 1);
ibuf->index->id = DICT_IBUF_ID_MIN + IBUF_SPACE_ID;
ibuf->index->table = dict_mem_table_create(
"innodb_change_buffer", IBUF_SPACE_ID, 1, 0, 0, 0);
@@ -1498,8 +1498,7 @@ ibuf_dummy_index_create(
DICT_HDR_SPACE, n, 0,
comp ? DICT_TF_COMPACT : 0, 0);
- index = dict_mem_index_create("IBUF_DUMMY", "IBUF_DUMMY",
- DICT_HDR_SPACE, 0, n);
+ index = dict_mem_index_create("IBUF_DUMMY", "IBUF_DUMMY", 0, n);
index->table = table;