MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / runExternalCommand

Function runExternalCommand

programs/client/FuzzLoop.cpp:531–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531static 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
545static const String & restart_cmd = "--Reconnecting client";
546static const String & external_cmd = "--External command ";

Callers 1

buzzHouseMethod · 0.85

Calls 2

ExceptionClass · 0.50

Tested by

no test coverage detected