diff options
author | marko@hundin.mysql.fi <> | 2005-01-14 13:54:23 +0200 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2005-01-14 13:54:23 +0200 |
commit | 045aea9d92332dc0be98038d4bd6e609132e6b6e (patch) | |
tree | d120530f84497dffd33fe530b9a42f36fe657b37 /innobase/dict/dict0load.c | |
parent | 7ef8a209508295a714f01ff6d9d1dc590e768f33 (diff) | |
download | mariadb-git-045aea9d92332dc0be98038d4bd6e609132e6b6e.tar.gz |
InnoDB: Remove redundant page_no field from dict_index_t.
This completes the patch for fast TRUNCATE TABLE.
Diffstat (limited to 'innobase/dict/dict0load.c')
-rw-r--r-- | innobase/dict/dict0load.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/innobase/dict/dict0load.c b/innobase/dict/dict0load.c index f835d1b949a..18910acb01d 100644 --- a/innobase/dict/dict0load.c +++ b/innobase/dict/dict0load.c @@ -681,12 +681,10 @@ dict_load_indexes( } else { index = dict_mem_index_create(table->name, name_buf, space, type, n_fields); - index->page_no = page_no; index->id = id; dict_load_fields(table, index, heap); - - dict_index_add_to_cache(table, index); + dict_index_add_to_cache(table, index, page_no); } btr_pcur_move_to_next_user_rec(&pcur, &mtr); |