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

Function gen_store

src/gpre/languages/rmc.cpp:3597–3613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3595//
3596
3597static void gen_store( const act* action)
3598{
3599 const gpre_req* request = action->act_request;
3600 gen_compile(action);
3601
3602 // Initialize any blob fields
3603
3604 TEXT name[MAX_REF_SIZE];
3605 const gpre_port* port = request->req_primary;
3606 for (const ref* reference = port->por_references; reference; reference = reference->ref_next)
3607 {
3608 const gpre_fld* field = reference->ref_field;
3609 if (field->fld_flags & FLD_blob)
3610 printa(names[COLUMN], true, "CALL \"isc_qtoq\" USING %s, %s",
3611 names[isc_blob_null_pos], gen_name(name, reference, true));
3612 }
3613}
3614
3615
3616//____________________________________________________________

Callers 1

RMC_actionFunction · 0.70

Calls 3

gen_compileFunction · 0.70
printaFunction · 0.70
gen_nameFunction · 0.70

Tested by

no test coverage detected