MySQL 9.1.0
Source Code Documentation
create_field.h File Reference
#include <optional>
#include "field_types.h"
#include "lex_string.h"
#include "my_alloc.h"
#include "my_base.h"
#include "mysql/strings/m_ctype.h"
#include "sql/dd/types/column.h"
#include "sql/field.h"
#include "sql/gis/srid.h"
#include "sql/sql_list.h"
#include "typelib.h"

Go to the source code of this file.

Classes

class  Create_field
 Create_field is a description a field/column that may or may not exists in a table. More...
 

Functions

bool is_field_for_functional_index (const Create_field *create_field)
 
bool is_hidden_by_system (const Create_field *create_field)
 
bool is_hidden_by_user (const Create_field *create_field)
 

Function Documentation

◆ is_field_for_functional_index()

bool is_field_for_functional_index ( const Create_field create_field)
Returns
whether or not this field is a hidden column that represents a functional index.

◆ is_hidden_by_system()

bool is_hidden_by_system ( const Create_field create_field)
Return values
trueIf this column is hidden either in the storage engine or SQL layer. Either way, it is completely hidden from the user.
falseOtherwise.

◆ is_hidden_by_user()

bool is_hidden_by_user ( const Create_field create_field)
Return values
trueIf this column is hidden by the user.
falseotherwise.