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

Function par_store

src/gpre/par.cpp:2886–2906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2884//
2885
2886static act* par_store()
2887{
2888 gpre_req* request = MSC_request(REQ_store);
2889 par_options(request, false);
2890 act* action = MSC_action(request, ACT_store);
2891 MSC_push((gpre_nod*) action, &cur_store);
2892
2893 gpre_ctx* context = EXP_context(request, 0);
2894 gpre_rel* relation = context->ctx_relation;
2895 request->req_database = relation->rel_database;
2896 HSH_insert(context->ctx_symbol);
2897 // You just inserted the context variable into the hash table.
2898 // The current token however might be the same context variable.
2899 // If so, get the symbol for it.
2900
2901 if (gpreGlob.token_global.tok_keyword == KW_none)
2902 gpreGlob.token_global.tok_symbol = HSH_lookup(gpreGlob.token_global.tok_string);
2903 MSC_match(KW_USING);
2904
2905 return action;
2906}
2907
2908
2909//____________________________________________________________

Callers 1

PAR_actionFunction · 0.85

Calls 8

MSC_requestFunction · 0.85
MSC_actionFunction · 0.85
MSC_pushFunction · 0.85
EXP_contextFunction · 0.85
HSH_insertFunction · 0.85
HSH_lookupFunction · 0.85
MSC_matchFunction · 0.85
par_optionsFunction · 0.70

Tested by

no test coverage detected