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

Function put_field_attributes

src/gpre/cmd.cpp:2531–2555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2529//
2530
2531static void put_field_attributes( gpre_req* request, const gpre_fld* field)
2532{
2533
2534 if (field->fld_flags & FLD_computed)
2535 put_computed_blr(request, field);
2536
2537 if (!field->fld_global)
2538 put_dtype(request, field);
2539
2540 // Put the DDL for local field instances
2541
2542 if (field->fld_array_info)
2543 put_array_info(request, field);
2544
2545 if (field->fld_collate && field->fld_global) {
2546 put_numeric(request, isc_dyn_fld_collation, field->fld_collate->intlsym_collate_id);
2547 }
2548
2549 if (field->fld_flags & FLD_not_null) {
2550 request->add_byte(isc_dyn_fld_not_null);
2551 }
2552
2553 if (field->fld_flags & FLD_computed)
2554 put_computed_source(request, field);
2555}
2556
2557
2558//____________________________________________________________

Callers 3

alter_tableFunction · 0.85
create_domainFunction · 0.85
create_tableFunction · 0.85

Calls 6

put_computed_blrFunction · 0.85
put_dtypeFunction · 0.85
put_array_infoFunction · 0.85
put_computed_sourceFunction · 0.85
put_numericFunction · 0.70
add_byteMethod · 0.45

Tested by

no test coverage detected