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

Function put_string

src/gpre/cmd.cpp:2602–2621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2600//
2601
2602static void put_string(gpre_req* request, USHORT ddl_operator, const TEXT* string, USHORT length)
2603{
2604
2605 STUFF_CHECK(request, length);
2606
2607 if (ddl_operator)
2608 {
2609 request->add_byte(ddl_operator);
2610 request->add_word(length);
2611 }
2612 else
2613 request->add_byte(length);
2614
2615
2616 if (string != NULL)
2617 {
2618 while (length--)
2619 request->add_byte(*string++);
2620 }
2621}
2622
2623
2624//____________________________________________________________

Callers 5

create_upd_cascade_trgFunction · 0.85
create_del_cascade_trgFunction · 0.85
create_set_default_trgFunction · 0.85
create_set_null_trgFunction · 0.85
put_cstringFunction · 0.85

Calls 3

STUFF_CHECKFunction · 0.85
add_byteMethod · 0.45
add_wordMethod · 0.45

Tested by

no test coverage detected