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

Function print_blr_line

src/common/pretty.cpp:485–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483//
484
485static void print_blr_line(void* arg, SSHORT offset, const char* line)
486{
487 ctl* control = static_cast<ctl*>(arg);
488 bool comma = false;
489 char c;
490
491 indent(control, control->ctl_level);
492
493 while (c = *line++)
494 {
495 PUT_BYTE(c);
496 if (c == ',')
497 comma = true;
498 else if (c != ' ')
499 comma = false;
500 }
501
502 if (!comma)
503 PUT_BYTE(',');
504
505 print_line(control, offset);
506}
507
508
509//____________________________________________________________

Callers

nothing calls this directly

Calls 2

indentFunction · 0.85
print_lineFunction · 0.85

Tested by

no test coverage detected