| 529 | } |
| 530 | |
| 531 | static void runExternalCommand( |
| 532 | std::unique_ptr<BuzzHouse::ExternalIntegrations> & external_integrations, |
| 533 | const uint64_t seed, |
| 534 | const bool async, |
| 535 | const String & engine, |
| 536 | const String & cname, |
| 537 | const String & tname) |
| 538 | { |
| 539 | if (!external_integrations->performExternalCommand(seed, async, BuzzHouse::IntegrationCall::Dolor, engine, cname, tname)) |
| 540 | { |
| 541 | throw Exception(ErrorCodes::BUZZHOUSE, "External command failed for {} on catalog {}", tname, cname); |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | static const String & restart_cmd = "--Reconnecting client"; |
| 546 | static const String & external_cmd = "--External command "; |
no test coverage detected