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

Function cmp_sdl_value

src/gpre/cmp.cpp:1500–1518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1498//
1499
1500static void cmp_sdl_value( gpre_req* request, const gpre_nod* node)
1501{
1502 const ref* reference = (ref*) node->nod_arg[0];
1503
1504 switch (node->nod_type)
1505 {
1506 case nod_literal:
1507 cmp_sdl_number(request, atoi(reference->ref_value));
1508 return;
1509
1510 case nod_value:
1511 request->add_byte(isc_sdl_variable);
1512 request->add_byte(reference->ref_id);
1513 return;
1514
1515 default:
1516 CPR_error("cmp_sdl_value: node not understood");
1517 }
1518}
1519
1520
1521//____________________________________________________________

Callers 2

cmp_sdl_loopFunction · 0.85
cmp_sdl_subscriptFunction · 0.85

Calls 3

cmp_sdl_numberFunction · 0.85
CPR_errorFunction · 0.85
add_byteMethod · 0.45

Tested by

no test coverage detected