MySQL 9.1.0
Source Code Documentation
|
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... | |
Struct used to pass around arguments to/from check_function_as_value_generator.
|
inline |
|
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.
const char* Check_function_as_value_generator_parameters::banned_function_name {nullptr} |
the name of the function which is not allowed
int Check_function_as_value_generator_parameters::col_index {-1} |
the order of the column in table
int Check_function_as_value_generator_parameters::err_code |
the error code found during check(if any)
Value_generator_source Check_function_as_value_generator_parameters::source |