From 96901d9545c5f2c5f02a47eeefb1af5ded80c578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Thu, 20 Feb 2020 22:00:43 +0200 Subject: 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. --- storage/innobase/include/dict0dict.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'storage/innobase/include/dict0dict.h') 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 -- cgit v1.2.1