diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-20 22:00:43 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-20 22:00:43 +0200 |
commit | 96901d9545c5f2c5f02a47eeefb1af5ded80c578 (patch) | |
tree | f56256a237404002c0545655b7b754d87eb2d8e2 /storage/innobase/include/dict0dict.h | |
parent | 6618fc29749f8521c5a0a007ae6d6fadb5121717 (diff) | |
download | mariadb-git-96901d9545c5f2c5f02a47eeefb1af5ded80c578.tar.gz |
Cleanup: Remove dict_ind_redundant
There is no reason for the dummy index object dict_ind_redundant
to exist any more. It was only being passed to btr_create().
btr_create(): If !index, assume that a ROW_FORMAT=REDUNDANT
table is being created.
We could pass ibuf.index, dict_sys.sys_tables->indexes.start
and so on, if those objects had been initialized before the
function btr_create() is called.
Diffstat (limited to 'storage/innobase/include/dict0dict.h')
-rw-r--r-- | storage/innobase/include/dict0dict.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/storage/innobase/include/dict0dict.h b/storage/innobase/include/dict0dict.h index 70823dae7f4..4a2ca2b3daa 100644 --- a/storage/innobase/include/dict0dict.h +++ b/storage/innobase/include/dict0dict.h @@ -2,7 +2,7 @@ Copyright (c) 1996, 2018, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2012, Facebook Inc. -Copyright (c) 2013, 2019, MariaDB Corporation. +Copyright (c) 2013, 2020, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -1607,17 +1607,6 @@ extern dict_sys_t dict_sys; #define dict_sys_lock() dict_sys.lock(__FILE__, __LINE__) #define dict_sys_unlock() dict_sys.unlock() -/** dummy index for ROW_FORMAT=REDUNDANT supremum and infimum records */ -extern dict_index_t* dict_ind_redundant; - -/** Initialize dict_ind_redundant. */ -void -dict_ind_init(); - -/** Free dict_ind_redundant. */ -void -dict_ind_free(); - /* Auxiliary structs for checking a table definition @{ */ /* This struct is used to specify the name and type that a column must |