| 547 | // |
| 548 | |
| 549 | static int print_dyn_verb( ctl* control, SSHORT level) |
| 550 | { |
| 551 | const SSHORT offset = control->ctl_blr - control->ctl_blr_start; |
| 552 | const UCHAR dyn_operator = BLR_BYTE; |
| 553 | |
| 554 | const char* p; |
| 555 | const int size = FB_NELEM(dyn_table); |
| 556 | if (dyn_operator > size || dyn_operator <= 0 || !(p = dyn_table[dyn_operator])) { |
| 557 | return error(control, offset, "*** dyn operator %d is undefined ***\n", (int) dyn_operator); |
| 558 | } |
| 559 | |
| 560 | indent(control, level); |
| 561 | blr_format(control, p); |
| 562 | PUT_BYTE(','); |
| 563 | PUT_BYTE(' '); |
| 564 | ++level; |
| 565 | |
| 566 | int length; |
| 567 | |
| 568 | switch (dyn_operator) |
| 569 | { |
| 570 | case isc_dyn_drop_difference: |
| 571 | case isc_dyn_begin_backup: |
| 572 | case isc_dyn_end_backup: |
| 573 | return 0; |
| 574 | case isc_dyn_begin: |
| 575 | case isc_dyn_mod_database: |
| 576 | print_line(control, offset); |
| 577 | while (NEXT_BYTE != isc_dyn_end) |
| 578 | PRINT_DYN_VERB; |
| 579 | PRINT_DYN_VERB; |
| 580 | return 0; |
| 581 | |
| 582 | case isc_dyn_view_blr: |
| 583 | case isc_dyn_fld_validation_blr: |
| 584 | case isc_dyn_fld_computed_blr: |
| 585 | case isc_dyn_trg_blr: |
| 586 | case isc_dyn_fld_missing_value: |
| 587 | case isc_dyn_prc_blr: |
| 588 | case isc_dyn_fld_default_value: |
| 589 | length = print_word(control); |
| 590 | print_line(control, offset); |
| 591 | if (length) |
| 592 | { |
| 593 | control->ctl_level = level; |
| 594 | fb_print_blr(control->ctl_blr, length, print_blr_line, control, control->ctl_language); |
| 595 | control->ctl_blr += length; |
| 596 | } |
| 597 | return 0; |
| 598 | |
| 599 | case isc_dyn_scl_acl: |
| 600 | // case isc_dyn_log_check_point_length: |
| 601 | // case isc_dyn_log_num_of_buffers: |
| 602 | // case isc_dyn_log_buffer_size: |
| 603 | // case isc_dyn_log_group_commit_wait: |
| 604 | case isc_dyn_idx_inactive: |
| 605 | length = print_word(control); |
| 606 | while (length--) |
nothing calls this directly
no test coverage detected