MySQL 8.0.39
Source Code Documentation
dict.cc File Reference

Data dictionary system. More...

#include <stddef.h>
#include "dict0dict.h"
#include "dict0mem.h"

Functions

void dict_index_add_col (dict_index_t *index, const dict_table_t *table, dict_col_t *col, ulint prefix_len, bool is_ascending)
 NOTE: The functions in this file should only use functions from other files in library. More...
 

Detailed Description

Data dictionary system.

Created 1/8/1996 Heikki Tuuri

Function Documentation

◆ dict_index_add_col()

void dict_index_add_col ( dict_index_t index,
const dict_table_t table,
dict_col_t col,
ulint  prefix_len,
bool  is_ascending 
)

NOTE: The functions in this file should only use functions from other files in library.

The code in this file is used to make a library for external tools. Adds a column to index.

Parameters
[in,out]indexindex
[in]tabletable
[in]colcolumn
[in]prefix_lencolumn prefix length
[in]is_ascendingtrue=ASC, false=DESC