summaryrefslogtreecommitdiff
path: root/storage/innobase/include/dict0dict.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/dict0dict.ic')
-rw-r--r--storage/innobase/include/dict0dict.ic13
1 files changed, 0 insertions, 13 deletions
diff --git a/storage/innobase/include/dict0dict.ic b/storage/innobase/include/dict0dict.ic
index 9bf6b8df4bc..b99cb421ab2 100644
--- a/storage/innobase/include/dict0dict.ic
+++ b/storage/innobase/include/dict0dict.ic
@@ -25,7 +25,6 @@ Created 1/8/1996 Heikki Tuuri
***********************************************************************/
#include "data0type.h"
-#ifndef UNIV_HOTBACKUP
#include "dict0load.h"
#include "rem0types.h"
#include "fsp0fsp.h"
@@ -101,8 +100,6 @@ dict_col_is_virtual(
return(col->prtype & DATA_VIRTUAL);
}
-#endif /* !UNIV_HOTBACKUP */
-
#ifdef UNIV_DEBUG
/*********************************************************************//**
Assert that a column and a data type match.
@@ -120,15 +117,12 @@ dict_col_type_assert_equal(
ut_ad(col->mtype == type->mtype);
ut_ad(col->prtype == type->prtype);
//ut_ad(col->len == type->len);
-# ifndef UNIV_HOTBACKUP
ut_ad(col->mbminmaxlen == type->mbminmaxlen);
-# endif /* !UNIV_HOTBACKUP */
return(TRUE);
}
#endif /* UNIV_DEBUG */
-#ifndef UNIV_HOTBACKUP
/***********************************************************************//**
Returns the minimum size of the column.
@return minimum size */
@@ -152,7 +146,6 @@ dict_col_get_max_size(
{
return(dtype_get_max_size_low(col->mtype, col->len));
}
-#endif /* !UNIV_HOTBACKUP */
/***********************************************************************//**
Returns the size of a fixed size column, 0 if not a fixed size column.
@return fixed size, or 0 */
@@ -245,7 +238,6 @@ dict_col_get_index_pos(
return(ULINT_UNDEFINED);
}
-#ifndef UNIV_HOTBACKUP
#ifdef UNIV_DEBUG
/********************************************************************//**
Gets the first index on the table (the clustered index).
@@ -293,7 +285,6 @@ dict_table_get_next_index(
return(UT_LIST_GET_NEXT(indexes, (dict_index_t*) index));
}
#endif /* UNIV_DEBUG */
-#endif /* !UNIV_HOTBACKUP */
/********************************************************************//**
Check whether the index is the clustered index.
@@ -1191,7 +1182,6 @@ dict_table_page_size(
return(dict_tf_get_page_size(table->flags));
}
-#ifndef UNIV_HOTBACKUP
/*********************************************************************//**
Obtain exclusive locks on all index trees of the table. This is to prevent
accessing index trees while InnoDB is updating internal metadata for
@@ -1234,7 +1224,6 @@ dict_table_x_unlock_indexes(
rw_lock_x_unlock(dict_index_get_lock(index));
}
}
-#endif /* !UNIV_HOTBACKUP */
/********************************************************************//**
Gets the number of fields in the internal representation of an index,
@@ -1440,7 +1429,6 @@ dict_index_get_nth_col_pos(
prefix_col_pos));
}
-#ifndef UNIV_HOTBACKUP
/********************************************************************//**
Returns the minimum data size of an index record.
@return minimum data size in bytes */
@@ -1974,4 +1962,3 @@ dict_table_have_virtual_index(
return(false);
}
-#endif /* !UNIV_HOTBACKUP */