summaryrefslogtreecommitdiff
path: root/storage/innobase/handler/ha_innodb.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/handler/ha_innodb.h')
-rw-r--r--storage/innobase/handler/ha_innodb.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/storage/innobase/handler/ha_innodb.h b/storage/innobase/handler/ha_innodb.h
index f2bb8aa5ef2..c98779f6823 100644
--- a/storage/innobase/handler/ha_innodb.h
+++ b/storage/innobase/handler/ha_innodb.h
@@ -23,35 +23,6 @@ this program; if not, write to the Free Software Foundation, Inc.,
system clustered index when there is no primary key. */
extern const char innobase_index_reserve_name[];
-/* Structure defines translation table between mysql index and InnoDB
-index structures */
-struct innodb_idx_translate_t {
-
- ulint index_count; /*!< number of valid index entries
- in the index_mapping array */
-
- ulint array_size; /*!< array size of index_mapping */
-
- dict_index_t** index_mapping; /*!< index pointer array directly
- maps to index in InnoDB from MySQL
- array index */
-};
-
-/** InnoDB table share */
-typedef struct st_innobase_share {
- THR_LOCK lock;
- const char* table_name; /*!< InnoDB table name */
- uint use_count; /*!< reference count,
- incremented in get_share()
- and decremented in
- free_share() */
- void* table_name_hash;
- /*!< hash table chain node */
- innodb_idx_translate_t
- idx_trans_tbl; /*!< index translation table between
- MySQL and InnoDB */
-} INNOBASE_SHARE;
-
/** Prebuilt structures in an InnoDB table handle used within MySQL */
struct row_prebuilt_t;
@@ -496,9 +467,6 @@ protected:
THR_LOCK_DATA lock;
- /** information for MySQL table locking */
- INNOBASE_SHARE* m_share;
-
/** buffer used in updates */
uchar* m_upd_buf;
@@ -635,17 +603,6 @@ trx_t*
innobase_trx_allocate(
MYSQL_THD thd); /*!< in: user thread handle */
-/** Match index columns between MySQL and InnoDB.
-This function checks whether the index column information
-is consistent between KEY info from mysql and that from innodb index.
-@param[in] key_info Index info from mysql
-@param[in] index_info Index info from InnoDB
-@return true if all column types match. */
-bool
-innobase_match_index_columns(
- const KEY* key_info,
- const dict_index_t* index_info);
-
/*********************************************************************//**
This function checks each index name for a table against reserved
system default primary index name 'GEN_CLUST_INDEX'. If a name