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

Function blr_print_join

src/yvalve/gds.cpp:3303–3343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3301
3302
3303static void blr_print_join(gds_ctl* control)
3304{
3305/**************************************
3306 *
3307 * b l r _ p r i n t _ j o i n
3308 *
3309 **************************************
3310 *
3311 * Functional description
3312 * Print a join type.
3313 *
3314 **************************************/
3315 const TEXT *string;
3316
3317 const USHORT join_type = control->ctl_blr_reader.getByte();
3318
3319 switch (join_type)
3320 {
3321 case blr_inner:
3322 string = "inner";
3323 break;
3324
3325 case blr_left:
3326 string = "left";
3327 break;
3328
3329 case blr_right:
3330 string = "right";
3331 break;
3332
3333 case blr_full:
3334 string = "full";
3335 break;
3336
3337 default:
3338 blr_error(control, "*** invalid join type ***");
3339 return;
3340 }
3341
3342 blr_format(control, "blr_%s, ", string);
3343}
3344
3345
3346static SLONG blr_print_line(gds_ctl* control, SSHORT offset)

Callers 1

blr_print_verbFunction · 0.85

Calls 3

blr_errorFunction · 0.85
blr_formatFunction · 0.70
getByteMethod · 0.45

Tested by

no test coverage detected