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.ic16
1 files changed, 0 insertions, 16 deletions
diff --git a/storage/innobase/include/dict0dict.ic b/storage/innobase/include/dict0dict.ic
index b4e7d3e34c7..76e0c287444 100644
--- a/storage/innobase/include/dict0dict.ic
+++ b/storage/innobase/include/dict0dict.ic
@@ -400,22 +400,6 @@ dict_table_get_n_user_cols(
return(table->n_cols - dict_table_get_n_sys_cols(table));
}
-/** Gets the number of user-defined virtual and non-virtual columns in a table
-in the dictionary cache.
-@param[in] table table
-@return number of user-defined (e.g., not ROW_ID) columns of a table */
-UNIV_INLINE
-ulint
-dict_table_get_n_tot_u_cols(
- const dict_table_t* table)
-{
- ut_ad(table);
- ut_ad(table->magic_n == DICT_TABLE_MAGIC_N);
-
- return(dict_table_get_n_user_cols(table)
- + dict_table_get_n_v_cols(table));
-}
-
/********************************************************************//**
Gets the number of all non-virtual columns (also system) in a table
in the dictionary cache.