MCPcopy Create free account
hub / github.com/MariaDB/server / create_sys_field

Method create_sys_field

sql/handler.cc:9070–9085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9068}
9069
9070bool Vers_parse_info::create_sys_field(THD *thd,
9071 const Lex_ident_column &field_name,
9072 Alter_info *alter_info, int flags)
9073{
9074 DBUG_ASSERT(can_native >= 0); /* Requires vers_check_native() called */
9075 Create_field *f= vers_init_sys_field(thd, field_name, flags,
9076 DBUG_IF("sysvers_force_trx") &&
9077 can_native);
9078 if (!f)
9079 return true;
9080
9081 alter_info->flags|= ALTER_PARSER_ADD_COLUMN;
9082 alter_info->create_list.push_back(f);
9083
9084 return false;
9085}
9086
9087const Lex_ident_column
9088 Vers_parse_info::default_start= "row_start"_Lex_ident_column,

Callers

nothing calls this directly

Calls 2

vers_init_sys_fieldFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected