MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / make_field

Function make_field

src/gpre/sql.cpp:5473–5484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5471//
5472
5473static gpre_fld* make_field( gpre_rel* relation)
5474{
5475 char s[NAME_SIZE];
5476
5477 SQL_resolve_identifier("<column name>", s, NAME_SIZE);
5478 gpre_fld* field = MET_make_field(s, 0, 0, true);
5479 field->fld_relation = relation;
5480 field->fld_flags |= FLD_meta;
5481 PAR_get_token();
5482
5483 return field;
5484}
5485
5486
5487//____________________________________________________________

Callers 6

act_alter_domainFunction · 0.85
act_alter_tableFunction · 0.85
act_create_domainFunction · 0.85
act_create_indexFunction · 0.85
act_create_viewFunction · 0.85
par_fieldFunction · 0.85

Calls 3

SQL_resolve_identifierFunction · 0.85
MET_make_fieldFunction · 0.85
PAR_get_tokenFunction · 0.85

Tested by

no test coverage detected