MySQL 8.4.0
Source Code Documentation
dict.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (c) 1996, 2024, Oracle and/or its affiliates.
4Copyright (c) 2012, Facebook Inc.
5
6This program is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License, version 2.0, as published by the
8Free Software Foundation.
9
10This program is designed to work with certain software (including
11but not limited to OpenSSL) that is licensed under separate terms,
12as designated in a particular file or component or in included license
13documentation. The authors of MySQL hereby grant you an additional
14permission to link the program and your derivative works with the
15separately licensed software that they have either included with
16the program or referenced in the documentation.
17
18This program is distributed in the hope that it will be useful, but WITHOUT
19ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
21for more details.
22
23You should have received a copy of the GNU General Public License along with
24this program; if not, write to the Free Software Foundation, Inc.,
2551 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
27*****************************************************************************/
28
29/** @file dict/dict.h
30 Data dictionary system
31
32 Created 1/8/1996 Heikki Tuuri
33 *******************************************************/
34
35/** NOTE: The functions in this file should only use functions from
36other files in library. The code in this file is used to make a library for
37external tools. */
38
39#ifndef dict_dict_h
40#define dict_dict_h
41/** Adds a column to index.
42@param[in,out] index index
43@param[in] table table
44@param[in] col column
45@param[in] prefix_len column prefix length
46@param[in] is_ascending true=ASC, false=DESC */
48 dict_col_t *col, ulint prefix_len, bool is_ascending);
49
50#endif
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.
Definition: dict.cc:50
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
Data structure for a column in a table.
Definition: dict0mem.h:489
Data structure for an index.
Definition: dict0mem.h:1046
Data structure for a database table.
Definition: dict0mem.h:1909
unsigned long int ulint
Definition: univ.i:406