MySQL 8.0.40
Source Code Documentation
dict0mem.ic File Reference

Data dictionary memory object creation. More...

#include "data0type.h"
#include "dict0mem.h"
#include "fil0fil.h"

Functions

static void dict_mem_fill_index_struct (dict_index_t *index, mem_heap_t *heap, const char *table_name, const char *index_name, ulint space, ulint type, ulint n_fields)
 This function poplulates a dict_index_t index memory structure with supplied information. More...
 

Detailed Description

Data dictionary memory object creation.

Created 1/8/1996 Heikki Tuuri

Function Documentation

◆ dict_mem_fill_index_struct()

static void dict_mem_fill_index_struct ( dict_index_t index,
mem_heap_t heap,
const char *  table_name,
const char *  index_name,
ulint  space,
ulint  type,
ulint  n_fields 
)
inlinestatic

This function poplulates a dict_index_t index memory structure with supplied information.

Parameters
indexout: index to be filled
heapin: memory heap
table_namein: table name
index_namein: index name
spacein: space where the index tree is placed, ignored if the index is of the clustered type
typein: DICT_UNIQUE, DICT_CLUSTERED, ... ORed
n_fieldsin: number of fields