MySQL 9.1.0
Source Code Documentation
Check_function_as_value_generator_parameters Struct Reference

Struct used to pass around arguments to/from check_function_as_value_generator. More...

#include <item.h>

Public Member Functions

 Check_function_as_value_generator_parameters (int default_error_code, Value_generator_source val_gen_src)
 
int get_unnamed_function_error_code () const
 Return the correct error code, based on whether or not if we are checking for disallowed functions in generated column expressions, in default value expressions or in check constraint expression. More...
 

Public Attributes

int col_index {-1}
 the order of the column in table More...
 
int err_code
 the error code found during check(if any) More...
 
Value_generator_source source
 
const char * banned_function_name {nullptr}
 the name of the function which is not allowed More...
 

Detailed Description

Struct used to pass around arguments to/from check_function_as_value_generator.

Constructor & Destructor Documentation

◆ Check_function_as_value_generator_parameters()

Check_function_as_value_generator_parameters::Check_function_as_value_generator_parameters ( int  default_error_code,
Value_generator_source  val_gen_src 
)
inline

Member Function Documentation

◆ get_unnamed_function_error_code()

int Check_function_as_value_generator_parameters::get_unnamed_function_error_code ( ) const
inline

Return the correct error code, based on whether or not if we are checking for disallowed functions in generated column expressions, in default value expressions or in check constraint expression.

Member Data Documentation

◆ banned_function_name

const char* Check_function_as_value_generator_parameters::banned_function_name {nullptr}

the name of the function which is not allowed

◆ col_index

int Check_function_as_value_generator_parameters::col_index {-1}

the order of the column in table

◆ err_code

int Check_function_as_value_generator_parameters::err_code

the error code found during check(if any)

◆ source

Value_generator_source Check_function_as_value_generator_parameters::source

The documentation for this struct was generated from the following file: