| 600 | } |
| 601 | |
| 602 | void Service::fillDpb(ClumpletWriter& dpb) |
| 603 | { |
| 604 | dpb.insertString(isc_dpb_config, EMBEDDED_PROVIDERS, fb_strlen(EMBEDDED_PROVIDERS)); |
| 605 | if (svc_address_path.hasData()) |
| 606 | { |
| 607 | dpb.insertData(isc_dpb_address_path, svc_address_path); |
| 608 | } |
| 609 | if (svc_utf8) |
| 610 | { |
| 611 | dpb.insertTag(isc_dpb_utf8_filename); |
| 612 | } |
| 613 | if (svc_crypt_callback) |
| 614 | { |
| 615 | // That's not DPB-related, but anyway should be done before attach/create DB |
| 616 | ISC_STATUS_ARRAY status; |
| 617 | if (fb_database_crypt_callback(status, svc_crypt_callback) != 0) |
| 618 | { |
| 619 | status_exception::raise(status); |
| 620 | } |
| 621 | } |
| 622 | if (svc_remote_process.hasData()) |
| 623 | { |
| 624 | dpb.insertString(isc_dpb_process_name, svc_remote_process); |
| 625 | } |
| 626 | if (svc_remote_pid) |
| 627 | { |
| 628 | dpb.insertInt(isc_dpb_process_id, svc_remote_pid); |
| 629 | } |
| 630 | } |
| 631 | |
| 632 | bool Service::utf8FileNames() |
| 633 | { |
no test coverage detected