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

Function put_short_cstring

src/gpre/cmd.cpp:2578–2594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2576//
2577
2578static void put_short_cstring(gpre_req* request, USHORT ddl_operator, const TEXT* string)
2579{
2580 SSHORT length = 0;
2581 if (string != NULL)
2582 length = static_cast<SSHORT>(strlen(string));
2583
2584 STUFF_CHECK(request, length);
2585
2586 request->add_byte(ddl_operator);
2587 request->add_byte(length);
2588
2589 if (string != NULL)
2590 {
2591 while (length--)
2592 request->add_byte(*string++);
2593 }
2594}
2595
2596
2597//____________________________________________________________

Callers 2

put_trigger_blrFunction · 0.85
put_view_trigger_blrFunction · 0.85

Calls 2

STUFF_CHECKFunction · 0.85
add_byteMethod · 0.45

Tested by

no test coverage detected