MySQL  8.0.27
Source Code Documentation
create_field.cc File Reference
#include "sql/create_field.h"
#include "sql/derror.h"
#include "sql/field.h"
#include "sql/item.h"
#include "sql/my_decimal.h"
#include "sql/sql_class.h"
#include "sql_string.h"
#include "template_utils.h"
#include <cmath>
#include <optional>

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.